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

WordPress image doesn't do HTTPS with a public IP #236

Open
scottyeager opened this issue May 7, 2024 · 0 comments
Open

WordPress image doesn't do HTTPS with a public IP #236

scottyeager opened this issue May 7, 2024 · 0 comments

Comments

@scottyeager
Copy link
Contributor

When the WordPress image is deployed, it doesn't attempt on its own to obtain an TLS certificate or serve traffic over HTTPS. That's okay when a TLS terminating gateway is used in front of the deploymen. However when the user reserves a public IP for the VM, they will be left with HTTP only service for WordPress.

Ideally the image can dynamically provide its own TLS termination if needed, based on environment variables passed at time of deployment. In the case that the VM needs to provide TLS, adding Caddy as a reverse proxy in front of Apache is a simple way to do this reliably.

We used a similar approach in the NextCloud image that could be of interest as a reference.

@xmonader xmonader modified the milestone: 3.15.x Oct 14, 2024
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

2 participants