diff --git a/conf/nginx.conf b/conf/nginx.conf index 155d397..f9ac42b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,8 +9,8 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } -### PHP configuration index www/index.php; + try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; @@ -20,7 +20,6 @@ location __PATH__/ { fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; - } # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;