Adjusted proxy location settings

This commit is contained in:
2025-01-22 14:00:17 +00:00
parent 716637138a
commit 0f727f8c0d

View File

@@ -32,14 +32,12 @@ http {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}
root /tmp/hls;
}
location / {
proxy_pass http://127.0.0.1:5000; # flask-app is the name of the Flask container in docker-compose
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://web_server:5000; # flask-app is the name of the Flask container in docker-compose
}
}
}