瀏覽代碼

Merge pull request #2 from Kloadut/patch-1

Update nginx.conf
opi 10 年之前
父節點
當前提交
eb84bd38cb
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      conf/nginx.conf

+ 0 - 5
conf/nginx.conf

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