x_old_misp_docker icon indicating copy to clipboard operation
x_old_misp_docker copied to clipboard

host not found in upstream "misp-web"

Open seanthegeek opened this issue 5 years ago • 3 comments

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

seanthegeek avatar Feb 19 '20 00:02 seanthegeek

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

ben-ce avatar Feb 20 '20 14:02 ben-ce

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

seanthegeek avatar Feb 20 '20 17:02 seanthegeek

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.

ben-ce avatar Feb 20 '20 18:02 ben-ce