↧
Answer by Leo Gallego for NGINX: HTTP to HTTPS redirect not working
I'm answering this although it's been accepted because I think the answer is wrong.I'm pasting your config below as-is, with only a comment pointing to the wrongly placed (extra it seems) curly bracked...
View ArticleAnswer by sanjayparmar for NGINX: HTTP to HTTPS redirect not working
Please use $server instead of $hostserver { listen 80 default_server; listen [::]:80 default_server; server_name example.com www.example.com; return 301 https://$server_name$request_uri;}Please refer...
View ArticleNGINX: HTTP to HTTPS redirect not working
First time posting here. I've been searching on here for about two days to find a solution to my problem and nothing is working. I know, there is a ton of posts about this same problem but none of the...
View Article