Updated qBittorrent (markdown)
parent
6d5e28dd7b
commit
fa514a18c8
@ -13,20 +13,23 @@ Add this in your reverse proxy to remove the headers:
|
||||
proxy_hide_header "x-webkit-csp";
|
||||
proxy_hide_header "content-security-policy";
|
||||
```
|
||||
Nginx Example:
|
||||
[Nginx variable example](https://github.com/gilbN/theme.park/wiki/Setup#nginx-variable):
|
||||
|
||||
```nginx
|
||||
location /qbt{
|
||||
proxy_pass http://localhost:8080/qbt;
|
||||
include /config/nginx/proxy.conf;
|
||||
location /qbt/ {
|
||||
proxy_pass http://192.168.1.34:8080/;
|
||||
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 '';
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
|
||||
set $app qbittorrent;
|
||||
include /config/nginx/theme-park.conf;
|
||||
|
||||
proxy_hide_header "x-webkit-csp";
|
||||
proxy_hide_header "content-security-policy";
|
||||
proxy_set_header Accept-Encoding "";
|
||||
sub_filter
|
||||
'</head>'
|
||||
'<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/themes/qbittorrent/aquamarine.css">
|
||||
</head>';
|
||||
sub_filter_once on;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user