You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm not sure where i could ask my question so i decide to put it here.
I'm using this module and is working well but i don't know how to set the following nginx optionunder / :
if ($http_x_forwarded_proto != 'https') {
rewrite ^ https://$host$request_uri? permanent;
}
Can anyone tell me how i set the exacly in the puppet config so it would look the same in the nginx vhost config
Thank you in advance
The text was updated successfully, but these errors were encountered:
according to the site Pitfalls and Common Mistakes, you should use return 301 ... instead of rewrite ... permanent.
Unfortunately many of the parameters are not documented very well, but if you take a look at manifests/resource/vhost.pp you will find the parameter rewrite_to_https.
Hello,
I'm not sure where i could ask my question so i decide to put it here.
I'm using this module and is working well but i don't know how to set the following nginx optionunder / :
if ($http_x_forwarded_proto != 'https') {
rewrite ^ https://$host$request_uri? permanent;
}
Can anyone tell me how i set the exacly in the puppet config so it would look the same in the nginx vhost config
Thank you in advance
The text was updated successfully, but these errors were encountered: