致力于为用户提供真实的
主机测评数据及优惠信息

大佬们求教nginx配置

网友 fmbfmb 说:

在emby网站路径后面配置了个sonarr,能打开却加载不了页面,怎么破啊

这是nginx配置

  1.         location / {
  2.         p**xy_pa** http://127.0.0.1:80**;
  3.         p**xy_http_version 1.1;
  4.         p**xy_set_header Upgrade $http_upgrade;
  5.         p**xy_set_header Connection &*uot;upgrade&*uot;;
  6.         p**xy_set_header Host $http_host;
  7.         p**xy_set_header X-Real-IP $remote_addr;
  8.         p**xy_set_header X-Forward-For $p**xy_add_x_forwarded_for;
  9.         p**xy_set_header X-Forward-P**to http;
  10.         p**xy_set_header X-Nginx-P**xy true;
  11.         p**xy_redirect off;
  12.         }
  13.         #sonarr
  14.         location /sonarr/ {
  15.         p**xy_set_header Host  $http_host;
  16.         p**xy_pa** http://127.0.0.1:8989;
  17.         }

网友 pulpfunction 说:

  1.         location / {
  2.             p**xy_pa** http://127.0.0.1:000/;
  3.             p**xy_set_header X-Forwarded-For $remote_addr;
  4.             p**xy_**l_ve**fy off;
  5.             p**xy_http_version 1.1;
  6.             p**xy_set_header Host $http_host;
  7.             p**xy_set_header Upgrade $http_upgrade;
  8.             p**xy_set_header Connection &*uot;upgrade&*uot;;
  9.             p**xy_read_timeout 8**00;
  10.         }       

网友 fmbfmb 说:

pulpfunction 发表于 2022-7-3 12:36
这个是我plex反代的配置  
不知道跟参数有没有关系

赞(0) 打赏
未经允许不得转载:爱主机 » 大佬们求教nginx配置
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址