Merge pull request #2 from Kloadut/patch-1

Update nginx.conf
This commit is contained in:
opi 2014-10-20 21:11:13 +02:00
commit eb84bd38cb

View file

@ -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;