mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 02:36:15 +03:00
Comment out unsafe directives by default
parent
8e9220b37a
commit
d536a8c10f
1 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,10 @@ location /qbt/ {
|
||||||
# You should consider disable "Enable Cross-site request forgery (CSRF) protection"
|
# You should consider disable "Enable Cross-site request forgery (CSRF) protection"
|
||||||
# setting in qBittorrent instead of using these directives to tamper the headers.
|
# setting in qBittorrent instead of using these directives to tamper the headers.
|
||||||
# The setting is located under "Options -> WebUI tab" in qBittorrent since v4.1.2.
|
# The setting is located under "Options -> WebUI tab" in qBittorrent since v4.1.2.
|
||||||
proxy_hide_header Referer;
|
#proxy_hide_header Referer;
|
||||||
proxy_hide_header Origin;
|
#proxy_hide_header Origin;
|
||||||
proxy_set_header Referer '';
|
#proxy_set_header Referer '';
|
||||||
proxy_set_header Origin '';
|
#proxy_set_header Origin '';
|
||||||
|
|
||||||
# Not needed since qBittorrent v4.1.0
|
# Not needed since qBittorrent v4.1.0
|
||||||
#add_header X-Frame-Options "SAMEORIGIN";
|
#add_header X-Frame-Options "SAMEORIGIN";
|
||||||
|
|
Loading…
Reference in a new issue