mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
update config
@@ -3,11 +3,13 @@ If you're using NGINX as a reverse proxy for Web UI, as of version 4.0.3, assumi
|
||||
```nginx
|
||||
location /qbt/ {
|
||||
proxy_pass http://127.0.0.1:8080/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Forwarded-Host $server_name:$server_port;
|
||||
proxy_hide_header Referer;
|
||||
proxy_hide_header Origin;
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Origin '';
|
||||
# proxy_set_header Host 127.0.0.1:8080; # if you use the "enable host header validation" setting with 127.0.0.1 in the "server domains" text box
|
||||
# add_header X-Frame-Options "SAMEORIGIN"; # not needed since 4.1.0
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user