Fix owncloud root

pull/22/head
Emilien Mantel 2016-08-11 10:59:44 +02:00
parent b17acac4c4
commit d26b2b9a49
1 changed files with 4 additions and 4 deletions

View File

@ -33,8 +33,8 @@
dav_methods PUT DELETE MKCOL COPY MOVE; dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS; dav_ext_methods PROPFIND OPTIONS;
fastcgi_pass {{ php_upstream }}; fastcgi_pass {{ php_upstream }};
fastcgi_param HOME /var/www/owncloud; fastcgi_param HOME {{ nginx_owncloud_root }};
fastcgi_param HTTP_HOME /var/www/owncloud; fastcgi_param HTTP_HOME {{ nginx_owncloud_root }};
fastcgi_param PATH /usr/local/bin:/usr/bin:/bin; fastcgi_param PATH /usr/local/bin:/usr/bin:/bin;
fastcgi_param modHeadersAvailable true; fastcgi_param modHeadersAvailable true;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
@ -48,8 +48,8 @@
location ~ \.php$ { location ~ \.php$ {
fastcgi_pass {{ php_upstream }}; fastcgi_pass {{ php_upstream }};
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param HOME /var/www/owncloud; fastcgi_param HOME {{ nginx_owncloud_root }};
fastcgi_param HTTP_HOME /var/www/owncloud; fastcgi_param HTTP_HOME {{ nginx_owncloud_root }};
fastcgi_param PATH /usr/local/bin:/usr/bin:/bin; fastcgi_param PATH /usr/local/bin:/usr/bin:/bin;
fastcgi_param modHeadersAvailable true; fastcgi_param modHeadersAvailable true;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;