#rewrite ^(/.+)$ https://www.somesite.com$1 permanent;by kaukopartio1 - How to...
Hi, I have worked with Nginx only short time and I'm led to in deep trouble with one configuration task. Basically I'd like to redirect all other requests than root document request to https but I can't find a way to do it. Currently I have this in nginx.conf rewrite ^(.*) https://www.certainsite.com$1 permanent; it redirects every plain http request to https by responding http 30by kaukopartio1 - How to...
![]() |
![]() |
![]() |
![]() |
|