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

NGX-865: Update Nginx/Apache Site Config #74

Merged
merged 1 commit into from
Jun 18, 2024
Merged

NGX-865: Update Nginx/Apache Site Config #74

merged 1 commit into from
Jun 18, 2024

Conversation

combssm
Copy link
Member

@combssm combssm commented Jun 10, 2024

Apache:

  • Also create virtualhost listening on port 8080 when use_letsencrypt is true

Nginx:

  • Have separate Nginx server blocks for ports 80 and 443 when use_letsencrypt is true. This allows nginx to proxy http (nginx) requests on port 80 to the httpd (apache) virtualhost listening on port 8080 to preserve certain characteristics about the original request. This fixes issues where .htaccess redirects using the 'HTTPS' apache special Server-Variable can not detect the original protocol.

@combssm combssm merged commit dbb19d5 into master Jun 18, 2024
4 of 7 checks passed
@combssm combssm deleted the NGX-865 branch June 18, 2024 18:37
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.

1 participant