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

Update nginx.conf

This commit is contained in:
Alexis Gavoty 2014-10-20 19:37:52 +02:00
parent 914b85a251
commit 8712752081

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;