mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Updated NGINX Reverse Proxy for Web UI (markdown)
@@ -1,15 +1,11 @@
|
|||||||
If you're using NGINX as a reverse proxy for Web UI, as of version 3.3.15, assuming your reverse proxy is local, your `location /` should look similar to the following:
|
If you're using NGINX as a reverse proxy for Web UI, as of version 3.3.15, assuming your reverse proxy is local, your `location /` should have the following settings:
|
||||||
|
|
||||||
|
|
||||||
|
```nginx
|
||||||
|
location / {
|
||||||
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
|
proxy_hide_header Referer;
|
||||||
|
proxy_hide_header Origin;
|
||||||
|
proxy_set_header Referer '';
|
||||||
|
proxy_set_header Origin '';
|
||||||
|
}
|
||||||
```
|
```
|
||||||
location / {
|
|
||||||
...
|
|
||||||
proxy_set_header X-Forwarded-Host $host:<webUI port>;
|
|
||||||
...
|
|
||||||
proxy_hide_header Referer;
|
|
||||||
proxy_hide_header Origin;
|
|
||||||
proxy_set_header Referer '';
|
|
||||||
proxy_set_header Origin '';
|
|
||||||
...
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user