Alloc: Regarding the openid login for access to the Integrated Webserver.
I want to use apache as proxy, but I also want to use SSL (https).
The problem is after login, the (https://steamcommunity.com/openid/login)-url contains
openid.return_to=http+host instead of openid.return_to=https+host.
I use both:
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto "https"
It's working without SSL.
Any ideas?
not working:
<VirtualHost *:443>
ServerName day7.domain.com
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/day7.domain.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/day7.domain.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/day7.domain.com/chain.pem
DocumentRoot /var/www/html
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto "https"
ProxyPass /robots.txt !
ProxyPass /.well-known/acme-challenge/ !
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/day7_error.log
CustomLog ${APACHE_LOG_DIR}/day7_access.log combined
</VirtualHost>
working:
<VirtualHost *:80>
Servername day7.domain.com
DocumentRoot /var/www/html
ProxyPreserveHost On
ProxyPass /robots.txt !
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
ErrorLog ${APACHE_LOG_DIR}/day7_error.log
CustomLog ${APACHE_LOG_DIR}/day7_access.log combined
</VirtualHost>