We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
之前是可以通过 http://1235.com/ddns 这样来反代二级目录的,现在新增的 login 页面不会定位到 http://1235.com/ddns/login 下,而是 http://1235.com/login。导致页面显示出错。
No response
已搜索,但未能解决
Linux
x86_64
v6.6
Docker
The text was updated successfully, but these errors were encountered:
见 #1129
Sorry, something went wrong.
按照上面的案例添加 rewrite
location ^~ /ddns/ { proxy_pass http://127.0.0.1:9876/; 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 "upgrade"; proxy_set_header X-Forwarded-Proto $scheme; proxy_http_version 1.1; add_header X-Cache $upstream_cache_status; add_header Strict-Transport-Security "max-age=31536000"; add_header Cache-Control no-cache; rewrite /ddns/(.*) /$1 break; }
还是跳转到 http://1235.com/login 页。。。
No branches or pull requests
问题描述
之前是可以通过 http://1235.com/ddns 这样来反代二级目录的,现在新增的 login 页面不会定位到 http://1235.com/ddns/login 下,而是 http://1235.com/login。导致页面显示出错。
DNS服务商
No response
是否已搜索同类问题
已搜索,但未能解决
操作系统
Linux
架构
x86_64
版本
v6.6
安装方式
Docker
额外信息
No response
The text was updated successfully, but these errors were encountered: