|
@@ -18,12 +18,12 @@ XZ_OPT=-9 tar -Jcvf /tmp/qbittorrent_$(uname -m)_v4.4.2_lt_v2.0.6.tar.xz qbitto
|
|
|
# access_log /var/log/nginx/access_qbt.log;
|
|
# access_log /var/log/nginx/access_qbt.log;
|
|
|
# error_log /var/log/nginx/error_qbt.log;
|
|
# error_log /var/log/nginx/error_qbt.log;
|
|
|
|
|
|
|
|
- auth_basic "qBittorrent";
|
|
|
|
|
- auth_basic_user_file /etc/nginx/passwd;
|
|
|
|
|
- # echo "admin:$(openssl passwd -quiet adminadmin)" |tee -a /etc/nginx/passwd
|
|
|
|
|
|
|
+ # auth_basic "qBittorrent";
|
|
|
|
|
+ # auth_basic_user_file /etc/nginx/passwd;
|
|
|
|
|
+ ## echo "admin:$(openssl passwd -quiet adminadmin)" |tee -a /etc/nginx/passwd
|
|
|
|
|
|
|
|
- proxy_http_version 1.1;
|
|
|
|
|
- proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
|
|
|
+ proxy_http_version 1.1;
|
|
|
|
|
+ proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
proxy_pass http://127.0.0.1:8080/;
|
|
proxy_pass http://127.0.0.1:8080/;
|
|
|
}
|
|
}
|
|
|
|
|
|