j6hokqgfrr 发表于 2025-3-13 00:55:26

Nginx 反代 qbittorrent 配置 不通用么?

Nginx 反代 qbittorrent 配置 不通用么?<br />
如题 Debian 11 使用下面配置正常 Debian 12就出现下面错误了<br />
折腾了半天也搞不定<br />
root@Admin:~# nginx -t<br />
nginx -s reload<br />
service nginx restart<br />
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok<br />
nginx: configuration file /etc/nginx/nginx.conf test is successful<br />
2025/03/12 16:46:56 1053#1053: signal process started<br />
<br />
nginx 反代配置如下 在Debian 11 中正常 Debian 12 出现上面错误<br />
server {<br />
listen 80;<br />
listen [::]:80;<br />
<br />
root /var/www/html;<br />
<br />
# Add index.php to the list if you are using PHP<br />
index index.html index.htm index.nginx-debian.html;<br />
<br />
server_name 10.app01.website;<br />
<br />
location / {<br />
      # try_files $uri $uri/ =404;<br />
<br />
      proxy_pass http://127.0.0.1:13579/;<br />
      proxy_http_version 1.1;<br />
      proxy_set_header X-Forwarded-Host $http_host;<br />
      proxy_set_header X-Real-IP $remote_addr;<br />
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br />
      proxy_set_header X-Forwarded-Proto $scheme;<br />
      <br />
}<br />
}

wxlg1117 发表于 2025-3-13 01:14:54

没看到你列出报错啊?<br />
参考:<br />
https://github.com/qbittorrent/qBittorrent/wiki/NGINX-Reverse-Proxy-for-Web-UI

j6hokqgfrr 发表于 2025-3-13 16:03:21

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16277829&ptid=1395561" target="_blank"><font color="#999999">wxlg1117 发表于 2025-3-13 01:14</font></a></font><br />
没看到你列出报错啊?<br />
参考:<br />
https://github.com/qbittorrent/qBittorrent/wiki/NGINX-Reverse-Proxy-for-We ...</blockquote></div><br />
嗯,我也不知哪里出错了<br />
配置不通用? 11能用的 12就不行

heihai 发表于 2025-3-13 01:14:00

报错,什么报错,你这没有报错啊<br />
<br />
<br />
<br />
<div align="right">它们什么都知道,它们本就是故意的<br />
我什么也做不了</div>

ColinDemon 发表于 2025-3-13 16:29:53

出现什么错误了,来个截图或日志啊<img id="aimg_TNr0m" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" />
页: [1]
查看完整版本: Nginx 反代 qbittorrent 配置 不通用么?