transfert nginx data to share
This commit is contained in:
parent
db32d9fddf
commit
4c92a919e8
@ -17,12 +17,14 @@ nextcloud_config_options: # additional options to set in config.php
|
||||
value: "'2'"
|
||||
- option: installed
|
||||
value: "true"
|
||||
- option: config_is_read_only
|
||||
value: "false"
|
||||
|
||||
nginx_upstreams:
|
||||
- name: PHP-handler
|
||||
servers:
|
||||
- unix:/var/run/php-fpm/php-fpm.sock
|
||||
|
||||
nginx_error_log: "/var/log/nginx/error.log debug"
|
||||
nginx_vhosts:
|
||||
- listen: "80"
|
||||
server_name: "_"
|
||||
@ -84,7 +86,7 @@ nginx_vhosts:
|
||||
location /.well-known/acme-challenge { }
|
||||
|
||||
location ^~ /nextcloud {
|
||||
|
||||
root /usr/share/webapps/
|
||||
# set max upload size
|
||||
client_max_body_size 512M;
|
||||
fastcgi_buffers 64 4K;
|
||||
@ -150,4 +152,6 @@ nginx_vhosts:
|
||||
access_log off;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
nextcloud_datadirectory: /mnt/diskstation/nextcloud
|
||||
nextcloud_data_directory_creation: false
|
@ -57,6 +57,17 @@ systemd_mounts:
|
||||
options:
|
||||
- " "
|
||||
automount: true
|
||||
diskstation_nextcloud:
|
||||
share: //diskstation/nextcloud
|
||||
mount: /mnt/diskstation/nextcloud
|
||||
type: cifs
|
||||
options:
|
||||
- credentials=/etc/creds/.diskstation_credentials
|
||||
- uid=33
|
||||
- gid=33
|
||||
- vers=3.0
|
||||
- dir_mode=0770
|
||||
automount: true
|
||||
systemd_mounts_enabled:
|
||||
- diskstation_git
|
||||
- diskstation_music
|
||||
@ -66,6 +77,7 @@ systemd_mounts_enabled:
|
||||
- diskstation_CardDav
|
||||
- diskstation_media
|
||||
- diskstation_ebook
|
||||
- diskstation_nextcloud
|
||||
|
||||
|
||||
credentials_files:
|
||||
@ -364,7 +376,6 @@ nginx_realIP_Proxy: 192.168.1.40/24
|
||||
PHP_ReadWritePaths:
|
||||
- /usr/share/webapps/nextcloud/apps
|
||||
- /etc/webapps/nextcloud/config
|
||||
- /var/nextcloud
|
||||
- /mnt/diskstation
|
||||
php_memory_limit: 512M #need for nextcloud be carefull on low memory device
|
||||
php_extention_enable:
|
||||
@ -454,6 +465,10 @@ nextcloud_config_options: # additional options to set in config.php
|
||||
value: "'2'"
|
||||
- option: installed
|
||||
value: "true"
|
||||
- option: config_is_read_only
|
||||
value: "false"
|
||||
nextcloud_datadirectory: /mnt/diskstation/nextcloud
|
||||
nextcloud_data_directory_creation: false
|
||||
|
||||
samba_shares:
|
||||
- name: hassconfig
|
||||
|
Loading…
Reference in New Issue
Block a user