mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-30 11:52:09 +07:00
Fix owncloud root
This commit is contained in:
@@ -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)(/.+)$;
|
||||||
|
|||||||
Reference in New Issue
Block a user