浏览代码

Remove https rewrite, not needed

mbugeia 9 年之前
父节点
当前提交
e5692fd924
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      conf/nginx.conf

+ 0 - 5
conf/nginx.conf

@@ -3,11 +3,6 @@ location YNH_WWW_PATH {
   # Path to source
   alias YNH_WWW_ALIAS ;
 
-  # rewrite all http request to https
-  if ($scheme = http) {
-      rewrite ^ https://$server_name$request_uri? permanent;
-    }
-
   # Example PHP configuration
   index index.php;