diff --git a/conf/nginx.conf b/conf/nginx.conf index eef6ba5..4f7f0dd 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,8 @@ location __PATH__ { alias __FINALPATH__/; + if ($scheme = http) { + rewrite ^ https://$server_name$request_uri? permanent; + } client_max_body_size 100M; index index.php; default_type text/html;