update owncloud article
This commit is contained in:
parent
dcb1d85d4f
commit
8be2855eb8
@ -47,6 +47,11 @@ server {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# deny direct access
|
||||
location ~ ^/(data|config|\.ht|db_structure.xml|README) {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location / {
|
||||
# these line replace the rewrite made in owncloud .htaccess
|
||||
try_files $uri $uri/ @webdav;
|
||||
@ -60,11 +65,10 @@ server {
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
location ~ \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass backend;
|
||||
fastcgi_param HTTPS on;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user