diff options
Diffstat (limited to 'conf/nginx.conf')
| -rw-r--r-- | conf/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf index 8ab2b9f..5ce3d7a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location __PATH__ { +location / { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; |
