Skip to content

Update https.md #404

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update https.md #404

wants to merge 1 commit into from

Conversation

cancastilho
Copy link

When using wordpress solution with docker compose (mysql, wordpress and nginx containers) and configuring nginx to receive https connection in a non default https port, it is necessary to include $server_port; in the Host header. If it is not there, some administration pages inside /wp-admin will load, but the root path and blog posts won't, resulting in ERR_TOO_MANY_REDIRECTS error.

The configuration was tested using the following docker images:

  • wordpress:6.8.1-php8.4-apache
  • nginx:alpine
  • mysql:8.4

When using wordpress solution with docker compose (mysql, wordpress and nginx containers) and configuring nginx to receive https connection in a non default https port, it is necessary to include $server_port; in the Host header. If it is not there, some administration pages inside /wp-admin will load, but the root path and blog posts won't, resulting in ERR_TOO_MANY_REDIRECTS error.
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

Successfully merging this pull request may close these issues.

2 participants