Remove https rewrite, not needed

This commit is contained in:
mbugeia 2015-10-27 16:06:56 +01:00
parent 5bccfd3267
commit e5692fd924

View file

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