Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $scheme ~* "htt(p|ps)"



On 05/27/13 19:00,  ? wrote:
 ,        
https://my.site.com <https://my.site.com/manager>  https://my.site.com/manager


server {
  server_name my.site.com;
  listen 80;
  return 301 https://my.site.com/manager;
}

server {
  server_name my.site.com;
  listen 443;
  ssl on;

  location = / {
    return 301 https://my.site.com/manager;
  }

  location /manager {
    ...
  }
}

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


 




Copyright © Lexa Software, 1996-2009.