Fix owncloud root
parent
b17acac4c4
commit
d26b2b9a49
|
@ -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)(/.+)$;
|
||||||
|
|
Loading…
Reference in New Issue