立即注册  找回密码
 立即注册
CeraNetworksBGVM服务器主机交流会员请立即修改密码Sharktech防护
查看: 14|回复: 0

Nginx 反代 qbittorrent 配置 不通用么?

[复制链接]

Nginx 反代 qbittorrent 配置 不通用么?

[复制链接]

197

主题

149

回帖

1687

积分

金牌会员

积分
1687
j6hokqgfrr

197

主题

149

回帖

1687

积分

金牌会员

积分
1687
2025-3-13 00:55:26 | 显示全部楼层 |阅读模式
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;
               
        }
}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|小黑屋|HS2V主机综合交流论坛

GMT+8, 2025-4-10 16:39 , Processed in 0.013606 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表