From 38750f05f4db6f9030b5c65cbee57efad1ac23e7 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 8 Apr 2020 15:48:46 +0200 Subject: [PATCH] try change nginx.conf --- conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 7b17562..5edd960 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;