소스 검색

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;