looha 发表于 2024-3-16 00:56:41

centos 9添加访问限制,加密访问后,输入正确密码显示404

本帖最后由 looha 于 2024-3-16 13:51 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:面板:国际版 6.8.35,国内版:8.3.5 nginx 1.2.4
系统版本:centos 9
问题描述:添加了访问限制,加密访问后,输入正确密码显示404
相关截图(日志、错误):网站为静态博客blob:https://www.bt.cn/fbc20a1c-4578-44e5-8488-a9fb92327baf端口在6123,端口6123做了反代,代码如下#PROXY-START/location ^~ / {      proxy_pass http://127.0.0.1:6123;      proxy_set_header Host $http_host;      proxy_set_header Upgrade $http_upgrade;}location ~ ^/(ws|terminal/.+)$ {      proxy_pass http://127.0.0.1: 6123;      proxy_http_version 1.1;      proxy_set_header Upgrade $http_upgrade;      proxy_set_header Connection "Upgrade";      proxy_set_header Host $http_host;}#PROXY-END/前台访问目录为网站根目录pubicblob:https://www.bt.cn/eb89e56a-471f-4427-89ca-09976f1c9908加密目录为/tags/和/tags/linux/blob:https://www.bt.cn/72a4ceab-abac-41d6-b2ef-59d3497db567前台通过访问www.blog.xxx.com/tags/和/tags/linux/下静态网页,/tags/和/tags/linux/ 真实路径为网站根目录下/public/tags和/public/tags/linux但是添加了加密访问后,输入正确的账号和密码,返回404,已确认密码没有问题

looha 发表于 2024-3-16 10:17:27

额 审核后 帖子图片都没有了
页: [1]
查看完整版本: centos 9添加访问限制,加密访问后,输入正确密码显示404