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
This commit is contained in:
Daniel Molkentin
2013-10-15 15:01:47 +02:00
parent c9cf5ce377
commit 7c1f72a567

View File

@@ -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;