From 2d3f943ca5a6854bbe7a5524d16c315ec20f1b97 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sun, 9 Dec 2018 21:57:39 -0500 Subject: [PATCH] Will continue debugging later --- templates/Nextcloud/Resources/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/Nextcloud/Resources/nginx.conf b/templates/Nextcloud/Resources/nginx.conf index b99a1d0..861d6e6 100644 --- a/templates/Nextcloud/Resources/nginx.conf +++ b/templates/Nextcloud/Resources/nginx.conf @@ -57,6 +57,10 @@ http { # This module is currently not supported. #pagespeed off; +# Will test later +# error_page 403 /core/templates/403.php; +# error_page 404 /core/templates/404.php; + location / { rewrite ^ /index.php$request_uri; } @@ -67,6 +71,7 @@ http { location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { deny all; } +############################################################################################################################### Suspected current issue location location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; include fastcgi.conf;