mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
Remove tampering of Host header (usually unnecessary) and minor cleanups
@@ -146,10 +146,10 @@ server {
|
|||||||
#location /other_webapp {
|
#location /other_webapp {
|
||||||
# change the location and port to the location and port the application is actually listening on
|
# change the location and port to the location and port the application is actually listening on
|
||||||
#proxy_pass http://localhost:8080/;
|
#proxy_pass http://localhost:8080/;
|
||||||
#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_set_header X-Forwarded-Proto $scheme;
|
||||||
|
#proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
#proxy_set_header X-Real-IP $remote_addr;
|
||||||
#}
|
#}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user