mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 02:36:15 +03:00
Updated NGINX Reverse Proxy for Web UI (markdown)
parent
c7a82269a1
commit
bdf06c64df
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ location /qbt/ {
|
||||||
proxy_pass http://127.0.0.1:8080/;
|
proxy_pass http://127.0.0.1:8080/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
http2_push_preload on; # Enable http2 push
|
||||||
|
|
||||||
# The following directives effectively nullify Cross-site request forgery (CSRF)
|
# The following directives effectively nullify Cross-site request forgery (CSRF)
|
||||||
# protection mechanism in qBittorrent, only use them when you encountered connection problems.
|
# protection mechanism in qBittorrent, only use them when you encountered connection problems.
|
||||||
|
|
Loading…
Reference in a new issue