mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07:00
correct handeling of 404 error
refer to http://wiki.nginx.org/HttpCoreModule#try_files tested on my system
This commit is contained in:
committed by
Morris Jobke
parent
a5ba94a29b
commit
bca8f3c74a
@@ -447,7 +447,7 @@ Nginx Configuration
|
||||
}
|
||||
|
||||
location ~ ^(.+?\.php)(/.*)?$ {
|
||||
try_files $1 = 404;
|
||||
try_files $1 =404;
|
||||
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$1;
|
||||
|
||||
Reference in New Issue
Block a user