更新了V8.0.5版本的面板, 要怎样退回V8.0.4版本
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:V8.0.5系统版本:CentOS 8.2.2004 x86_64(Py3.7.9)
问题描述:原来在面板V8.0.4版本,配置如下反向代理配置,站点运行正常。更新成面板V8.0.5版本,站点报502 Bad Gateway错误#PROXY-START/location ^~ /{ proxy_pass http://127.0.0.1:20108; proxy_http_version 1.1; proxy_read_timeout 360s; proxy_redirect off; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 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; add_header X-Cache $upstream_cache_status; #Set Nginx Cache set $static_fileLzXnun8E 0; if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" ) { set $static_fileLzXnun8E 1; expires 12h; } if ( $static_fileLzXnun8E = 0 ) { add_header Cache-Control no-cache; }}#PROXY-END/相关截图(日志、错误):
应该是不支持回退的 V8.0.5版本 /location ^~ /这个后面会自带这个“^~”符号,删掉了,点保存,然后点编号又看这个符号。估计是这个符号引起的。看看有没有办法解决一下。 wget -O update6.sh http://download.bt.cn/install/update6.sh && bash update6.sh 8.0.4
宝塔用户_gllfen 发表于 2024-2-1 21:22
V8.0.5版本 /location ^~ /这个后面会自带这个“^~”符号,删掉了,点保存,然后点编号又看这个符号。估 ...
删了 也不行。执行8.04的面板代码 重启后面板UI有问题。早知道不升级成8.0.5了
页:
[1]