Double Redirect
itpp2012
nginx-forum at forum.nginx.org
Sun Jun 19 21:16:56 UTC 2016
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
More information about the nginx
mailing list