iks 发表于 2023-2-14 14:29 肯定是反代配置没调好 这个反向代理需不需要bt安装php 我目前只安装了一个nginx 同样的操作在其他服务器就可以 唯一的区别就是这个服务器只安装了nginx
iks 发表于 2023-2-14 14:33 你能不能把反向代理的配置发出来 location / { proxy_pass http://127.0.0.1:56789; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_http_version 1.1; # proxy_hide_header Upgrade; add_header X-Cache $upstream_cache_status; #Set Nginx Cache set $static_file3Ehvxu3s 0; if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" ) { set $static_file3Ehvxu3s 1; expires 1m; } if ( $static_file3Ehvxu3s = 0 ) { add_header Cache-Control no-cache; } } 面板创建的静态网站直接反代端口
beihu 发表于 2023-2-14 14:36 location / { proxy_pass http://127.0.0.1:56789; http://127.0.0.1:56789 改 https