我想将 Sonarqube 5.2 ( https://my.sonarqube.com ) 配置为安全连接并在反向代理后面,但它不起作用。我安装了 mod_proxy 和 mod_ssl。
在 httpd.conf
<VirtualHost *:80>
ServerName my.sonarqube.com
Redirect permanent / https://my.sonarqube.com/
</VirtualHost>
<VirtualHost *:443>
ServerName my.sonarqube.com
SSLEngine on
SSLCertificateFile /etc/ssl/sonarhosting.pem
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://my.sonarqube.com:8080
ProxyPassReverse / http://my.sonarqube.com:443
RequestHeader set X_FORWARDED_PROTO 'https'
RequestHeader set X-Forwarded-Port "443"
请问有没有人可以帮助我?