MISP / x_old_misp_docker

MISP Docker (XME edition)
283 stars 166 forks source link

host not found in upstream "misp-web" #81

Open seanthegeek opened 4 years ago

seanthegeek commented 4 years ago

When running

docker-compose -f docker-compose-nginx.yml up
proxy    | nginx: [emerg] host not found in upstream "misp-web" in /etc/nginx/conf.d/default.conf:18
proxy exited with code 1
ben-ce commented 4 years ago

Hi! I think that's because of this: https://github.com/MISP/misp-docker/blob/master/proxy/default.conf#L18

According to the docker compose file it should work if you change it to: proxy_pass http://web;

Edit: and then rebuild the proxy image

seanthegeek commented 4 years ago

Close. That line should proxy_pass http://misp_web not proxy_pass http://misp-web. Thanks

I've actually run into so many problems with this Docker Compose project that I've started my own

https://github.com/seanthegeek/misp-docker

ben-ce commented 4 years ago

That's weird, because I had the same issue and changing the proxy_pass value to http://misp_web did not solve it, but http://web did.