Merge branch 'rpiwebapp_go-proxy' into 'master'
Proxy /games/download to rpiwebapp_go See merge request matt/rpiWebApp!1
This commit is contained in:
commit
ea618ffe1b
10
nginx.conf
10
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user