问题原文
原帖链接 · rhellem · CC BY-SA 4.0
My company uses a CMS system hosted in the cloud. We want to create internal DNS-aliases to make it easier for developers to remember. Reading the documentation for mod_proxy_connect I do think it should be possible to do something like
<VirtualHost *:443>
ServerAdmin [email omitted]
ServerName test-cms.mycorp.no
AllowCONNECT
ProxyPass / https://mycorp-xpqa-lb-8qh7ip0n.cms.cloud/mycorp
ProxyPassReverse / https://mycorp-xpqa-lb-8qh7ip0n.cms.cloud/mycorp
</VirtualHost>
Until now I have not been able to get this to work, worth mentioning is
- I do not have access to the certificate/key of the CMS-system, other than the public vert.
Is this possible to do using Apache?
已采纳解答
原帖链接 · rhellem · CC BY-SA 4.0
The answer by HBruijn did explain some of the tricky parts for me, but I have still not been able to solve it. But I have managed to get around the SSL-issue simply by adding
SSLProxyEngine on
SSLProxyVerify none
What does not seem to work, also ref. the answer posted by HBruijn and the line
RedirectMatch ^/$ /mycorp
it does not work. The / returns http 404 and that is what I get, but if /mycorp had been added I would expect a http 401.
But, I will create a new question for this issue.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
