Lebod Wrote:
-------------------------------------------------------
> nginx: [warn] conflicting server name "example.com" on 0.0.0.0:80,

It says it all.

> server {
>     listen 80;
remove this line: >     listen 443 ssl;
>     server_name example.com ***IP Address***;
>     return 301 https://www.example.com$request_uri;
> }
>

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,267700,267701#msg-267701

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to