Merge branch 'rpiwebapp_go-proxy' into 'master'

Proxy /games/download to rpiwebapp_go

See merge request matt/rpiWebApp!1
This commit is contained in:
Matthew Welch 2021-02-01 19:39:01 -08:00
commit ea618ffe1b

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