From 7c1f72a567e16f8233ff915a19ed4efe8ae12aab Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Tue, 15 Oct 2013 15:01:47 +0200 Subject: [PATCH] 40x.php do not determine the error, they only display it http://wiki.nginx.org/HttpCoreModule#error_page See https://github.com/owncloud/mirall/issues/1098#issuecomment-26331473 --- admin_manual/installation/installation_others.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin_manual/installation/installation_others.rst b/admin_manual/installation/installation_others.rst index e63d4b559..2bea01116 100644 --- a/admin_manual/installation/installation_others.rst +++ b/admin_manual/installation/installation_others.rst @@ -40,8 +40,8 @@ Nginx Configuration rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect; index index.php; - error_page 403 = /core/templates/403.php; - error_page 404 = /core/templates/404.php; + error_page 403 /core/templates/403.php; + error_page 404 /core/templates/404.php; location = /robots.txt { allow all;