Browse Source

Update nginx.conf

Alexis Gavoty 10 years ago
parent
commit
8712752081
1 changed files with 0 additions and 5 deletions
  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;