We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rewrite_to_https, if using the default port of 443, works fine.
if not using 443, it doesn't work because the line that puppet generates doesn't include the custom port number.
The fix is here in templates/vhost/vhost_header.rb:
change this:
if ($ssl_protocol = "") { return 301 https://$host$request_uri; }
to this:
if ($ssl_protocol = "") { return 301 https://$host<%if @ssl_port != 443%>:<%= @ssl_port %><% end %>$request_uri; }
The text was updated successfully, but these errors were encountered:
fix for nginx not using right port forwarding for non-standard port #'s
46fa4bc
this has been marked as a bug upstream now: fixes voxpupuli/puppet-nginx#477
abe4b49
vhost: fix rewrite to HTTPS for custom SSL ports
3a27d53
Fixes voxpupuli#477
1de76c2
No branches or pull requests
rewrite_to_https, if using the default port of 443, works fine.
if not using 443, it doesn't work because the line that puppet generates doesn't include the custom port number.
The fix is here in templates/vhost/vhost_header.rb:
change this:
to this:
The text was updated successfully, but these errors were encountered: