本帖最后由 财神 于 2022-4-8 14:44 编辑
大佬们 这个情况怎么解决
location ^~ /X-ui { proxy_pass http://127.0.0.1:54321/X-ui; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /ions { proxy_redirect off; proxy_pass http://127.0.0.1:53964; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 300s; # Show realip in Xray access.log proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
算了 删鸡 不整了 |