1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

try change nginx.conf

This commit is contained in:
Robles Rodolphe 2020-04-08 15:48:46 +02:00
parent 031b9471fa
commit 38750f05f4

View file

@ -7,6 +7,10 @@ if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Example PHP configuration (remove if not used)
index index.php;
try_files $uri $uri/ index.php;
location ~ \.php {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock;