Skip to content
New issue

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

./httpd-cfg settings are not used by ssl virtual host #356

Open
xrow opened this issue May 4, 2022 · 0 comments
Open

./httpd-cfg settings are not used by ssl virtual host #356

xrow opened this issue May 4, 2022 · 0 comments

Comments

@xrow
Copy link
Contributor

xrow commented May 4, 2022

I have noticed that the config ./httpd-cfg is not used by the ssl host. I am wondering what the meaning is when we can add certificates but that virtualhost config is not the same for 8080 and 8443.

See

https://github.com/sclorg/s2i-php-container/blob/master/7.4/root/usr/share/container-scripts/php/common.sh#L38

The workaround is to configure shared settings with the .htaccess which is not ideal.

A reverse proxy in ssl can do the trick also

ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant