Explorar o código

Merge pull request #2 from Kloadut/patch-1

Update nginx.conf
opi %!s(int64=10) %!d(string=hai) anos
pai
achega
eb84bd38cb
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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;