全球主机交流论坛

标题: Nginx 反代 qbittorrent 配置 不通用么? [打印本页]

作者: j6hokqgfrr    时间: 2025-3-13 00:55
标题: Nginx 反代 qbittorrent 配置 不通用么?
Nginx 反代 qbittorrent 配置 不通用么?
如题 Debian 11 使用下面配置正常 Debian 12就出现下面错误了
折腾了半天也搞不定
root@Admin:~# nginx -t
nginx -s reload
service nginx restart
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
2025/03/12 16:46:56 [notice] 1053#1053: signal process started

nginx 反代配置如下 在Debian 11 中正常 Debian 12 出现上面错误
server {
        listen 80;
        listen [::]:80;

        root /var/www/html;

        # Add index.php to the list if you are using PHP
        index index.html index.htm index.nginx-debian.html;

        server_name 10.app01.website;

        location / {
                # try_files $uri $uri/ =404;

                proxy_pass http://127.0.0.1:13579/;
                proxy_http_version 1.1;
                proxy_set_header X-Forwarded-Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
               
        }
}
作者: wxlg1117    时间: 2025-3-13 01:14
没看到你列出报错啊?
参考:
https://github.com/qbittorrent/qBittorrent/wiki/NGINX-Reverse-Proxy-for-Web-UI
作者: j6hokqgfrr    时间: 2025-3-13 16:03
wxlg1117 发表于 2025-3-13 01:14
没看到你列出报错啊?
参考:
https://github.com/qbittorrent/qBittorrent/wiki/NGINX-Reverse-Proxy-for-We ...

嗯,我也不知哪里出错了
配置不通用? 11能用的 12就不行
作者: heihai    时间: 2025-3-13 16:29
报错,什么报错,你这没有报错啊



它们什么都知道,它们本就是故意的
我什么也做不了

作者: ColinDemon    时间: 2025-3-13 16:48
出现什么错误了,来个截图或日志啊




欢迎光临 全球主机交流论坛 (https://fd.vvwvv.eu.org/) Powered by Discuz! X3.4