From 0f727f8c0d3282c898f3d86f97271b369dfdd194 Mon Sep 17 00:00:00 2001 From: ThisBirchWood Date: Wed, 22 Jan 2025 14:00:17 +0000 Subject: [PATCH] Adjusted proxy location settings --- nginx/nginx.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 1548308..2b13cfb 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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 } } }