diff --git a/nginx.conf b/nginx.conf index 84f8ec0..d9ea97e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,3 +9,13 @@ location / { fastcgi_param SCRIPT_NAME ""; fastcgi_pass unix:/run/rpiWebApp/fcgi.sock; } +location /games/download { + proxy_pass http://127.0.0.1:8080; + proxy_request_buffering off; + proxy_buffering off; + proxy_http_version 1.1; + proxy_redirect off; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +}