1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pytition_ynh.git synced 2024-09-03 20:16:08 +02:00

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 # Path to source
alias YNH_EXAMPLE_ALIAS ; alias YNH_EXAMPLE_ALIAS ;
# Force https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Example PHP configuration # Example PHP configuration
index index.php; index index.php;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;