Proxy /games/download to rpiwebapp_go

This commit is contained in:
Timmy Welch 2021-02-01 19:39:00 -08:00 committed by Matthew Welch
parent f8aa5ff2d7
commit cef939be1c

View File

@ -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;
}