-
-
Notifications
You must be signed in to change notification settings - Fork 883
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
SSL issue with rewrite_www_to_non_www parameter #542
Comments
resolves issue: voxpupuli#542
I think my fix is more complete/modular. |
@joehillen agreed it's probably the right way to go (I only made a quick fix)... but appears to be failing the Travis CI build... have you verified valid output? you may need to fix the spec test |
I tested it. If you look at the test error, the spec is wrong, but I don't know rspec, so I don't immediately know how to fix it. |
I don't know it either, unfortunately, or I would have likely fixed it already. I may have time to learn and mess with it another day, but I'm working on other projects the next couple days. |
Currently experiencing this issue with release |
The nginx::resource::vhost module seems to create an invalid config when rewrite_www_to_non_www is true.
I had to add the SSL parameters to resolve the error message. The error message occurs when accessing https://www.site.io and https://site.io (i.e. ssl is effectively completely broken for the site config).
Please let me know if I'm using the parameter incorrectly, I am fairly new to nginx and this module.
It looks as though the vhost_header.erb should include some ssl parameters (at least "ssl on"?) in the conf file.
version: commit 1620e18 (latest commit as of issue submission)
error message from nginx:
2015/01/04 16:42:57 [error] 11025#0: *52 no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: *redacted*, server: 0.0.0.0:443
puppet manifest:
complete nginx configuration that was generated:
offending snippet from above nginx conf:
repaired snippet from nginx conf:
The text was updated successfully, but these errors were encountered: