Редирект с HTTP на HTTPS на Nginx
Вот так в nginx.conf:
if ($scheme = "http") {
rewrite ^/(.*)$ https://$host/$1 permanent;
}



9.02.2016, 15:04 -
Категория: Статьи » Администрирование