Version 0.1: Inital working deployment version
This commit is contained in:
8
roles/owncloud/templates/log-rotation.j2
Normal file
8
roles/owncloud/templates/log-rotation.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
/var/www/owncloud/data/owncloud.log {
|
||||
size 10M
|
||||
rotate 12
|
||||
copytruncate
|
||||
missingok
|
||||
compress
|
||||
compresscmd /bin/gzip
|
||||
}
|
||||
4
roles/owncloud/templates/occ.j2
Normal file
4
roles/owncloud/templates/occ.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /var/www/owncloud
|
||||
sudo -E -u www-data /usr/bin/php /var/www/owncloud/occ "$@"
|
||||
17
roles/owncloud/templates/owncloud.dav.conf.j2
Normal file
17
roles/owncloud/templates/owncloud.dav.conf.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName {{ hostname }}
|
||||
DirectoryIndex index.php index.html
|
||||
DocumentRoot /var/www/owncloud
|
||||
<Directory /var/www/owncloud>
|
||||
Options +FollowSymlinks -Indexes
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
<IfModule mod_dav.c>
|
||||
Dav off
|
||||
</IfModule>
|
||||
|
||||
SetEnv HOME /var/www/owncloud
|
||||
SetEnv HTTP_HOME /var/www/owncloud
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
1
roles/owncloud/templates/smbclient.ini.j2
Normal file
1
roles/owncloud/templates/smbclient.ini.j2
Normal file
@@ -0,0 +1 @@
|
||||
extension=smbclient.so
|
||||
Reference in New Issue
Block a user