我正试图将CyberPower PowerPanel Business托管在反向代理之后,以便于访问...我已经对其进行了设置并可以在下面的配置下正常工作,但是它将始终将用户重定向到/ local / login而不是/管理/登录。您可以手动输入,但我希望它们总是从反向代理发送到/ management。
<VirtualHost *:443>
ServerName power.myserver.tld
Include /etc/letsencrypt/options-ssl-apache.conf
SSLProxyEngine on
SSLProxyVerify off
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyRequests off
ProxyPreserveHost on
ProxyPass / http://192.168.1.20:3052/ retry=0
ProxyPassReverse / http://192.168.1.20:3052/
AllowEncodedSlashes NoDecode
LogLevel warn
SSLCertificateFile /etc/letsencrypt/live/power.myserver.tld/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/power.myserver.tld/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/power.myserver.tld/chain.pem
</VirtualHost>
如何获取始终将用户发送到https://docs.mongodb.com/manual/reference/operator/query/type/#available-types但仅在浏览器中显示http://192.168.1.20:3052/management/的信息?
我尝试过
的变体 ProxyPass /management/ http://192.168.1.20:3052/ retry=0
ProxyPassReverse /management/ http://192.168.1.20:3052/
但是应用程序将尝试将用户重定向到https://power.myserver.tld/,而https://power.myserver.tld/local似乎不存在。{p3}