proxy_redirect для https

Bokhan Artem artist at academ.org
Sun Apr 26 18:51:10 MSD 2009


Konstantin Svist пишет:
> Если есть "ssl on;", не должен ли proxy_redirect пересылать всё на https://?
> 

используйте переменную $scheme
http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#variables

> Также хотел спросить, можно ли имплементировать что-то типа
>         proxy_redirect   http://$host   https://$host;
> или
>         proxy_redirect   http://*.mysite.com   https://$host;
> 
> 
> 
> 






More information about the nginx-ru mailing list