全球主机交流论坛备用站

 找回密码
 立即注册

QQ登录

只需一步,快速开始

全球云38元起免备案V2EX搬瓦工VPS
SEO查询超级PING网站测速
Virmach特价鸡乌云漏洞吾爱破解
查看: 117|回复: 4

Nginx 反代 qbittorrent 配置 不通用么?

[复制链接]

128

主题

139

回帖

896

积分

高级会员

Rank: 4

积分
896
发表于 2025-3-13 00:55:26 | 显示全部楼层 |阅读模式
20230417
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;

}
}
MJJ,你的签名掉了~~~
回复

使用道具 举报

5

主题

72

回帖

267

积分

中级会员

Rank: 3Rank: 3

积分
267
发表于 2025-3-13 01:14:54 | 显示全部楼层
没看到你列出报错啊?
参考:
https://github.com/qbittorrent/qBittorrent/wiki/NGINX-Reverse-Proxy-for-Web-UI
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

128

主题

139

回帖

896

积分

高级会员

Rank: 4

积分
896
 楼主| 发表于 2025-3-13 16:03:21 | 显示全部楼层
wxlg1117 发表于 2025-3-13 01:14
没看到你列出报错啊?
参考:
https://github.com/qbittorrent/qBittorrent/wiki/NGINX-Reverse-Proxy-for-We ...

嗯,我也不知哪里出错了
配置不通用? 11能用的 12就不行
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

57

主题

2181

回帖

5741

积分

论坛元老

Rank: 8Rank: 8

积分
5741
发表于 2025-3-13 01:14:00 | 显示全部楼层
报错,什么报错,你这没有报错啊



它们什么都知道,它们本就是故意的
我什么也做不了
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

2

主题

25

回帖

82

积分

注册会员

Rank: 2

积分
82
发表于 2025-3-13 16:29:53 | 显示全部楼层
出现什么错误了,来个截图或日志啊
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

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

本版积分规则

展开

QQ|Archiver|手机版|小黑屋|全球主机交流论坛备用站

GMT+8, 2025-4-24 16:43 , Processed in 0.071172 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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