NginxConfig/snippets/force-ssl.conf

4 lines
79 B
Plaintext
Raw Normal View History

2016-05-23 20:17:49 +02:00
if ( $scheme != https ) {
return 301 https://$http_host$request_uri;
}