another try with nginx file

This commit is contained in:
Thomas Ruoff
2017-02-24 14:04:46 +01:00
parent bef8dc2585
commit f38f40217e

View File

@@ -1,4 +1,11 @@
server {
location /api/ { location /api/ {
proxy_pass http://127.0.0.1:5000; proxy_pass http://backend:5000;
proxy_set_header Host $host; proxy_redirect default;
proxy_read_timeout 241s;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
} }