NginxConfig/snippets/force-ssl.conf
2016-05-23 20:17:49 +02:00

4 lines
79 B
Plaintext

if ( $scheme != https ) {
return 301 https://$http_host$request_uri;
}