Thank you for the reply Francis,
I have only 1 server {} with "example.com".
I have one server block that listens on ports 80 and 443 to example.com and
redirects to https://www.example.com like this:
server {
listen 80;
listen 443 ssl;
server_name example.com ***IP Address***;
return 301 https://www.example.com$request_uri;
}
Is that not correct?
Thank you v much
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,267700,267874#msg-267874
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx