Welcome! Log In Create A New Profile

Advanced

Re: 301 редирект http->https исключая графику и robots.txt как ?

March 23, 2015 05:24AM
server {
listen ip;
server_name domain.ru *.domain.ru www.domain.ru;
location /robots.txt { }

location ~* ^.+\.(jpg|jpeg|gif|png|ico)$ { }

location / {
return 301 https://domain.ru$request_uri;
}
}
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

301 редирект http->https исключая графику и robots.txt как ?

anstrem March 23, 2015 05:20AM

Re: 301 редирект http->https исключая графику и robots.txt как ?

kemko March 23, 2015 05:24AM

Re: 301 редирект http->https исключая графику и robots.txt как ?

anstrem March 23, 2015 05:43AM

Re: 301 редирект http->https исключая графику и robots.txt как ?

Oleg A. Mamontov March 23, 2015 05:30AM

Re: 301 редирект http->https исключая графику и robots.txt как ?

anstrem March 23, 2015 05:51AM

Re: 301 редирект http->https исключая графику и robots.txt как ?

Oleg A. Mamontov March 23, 2015 06:06AM

Re: 301 редирект http->https исключая графику и robots.txt как ?

anstrem March 23, 2015 06:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready