Procházet zdrojové kódy

Remove https rewrite, not needed

mbugeia před 9 roky
rodič
revize
e5692fd924
1 změnil soubory, kde provedl 0 přidání a 5 odebrání
  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;