Version 0.1: Inital working deployment version

This commit is contained in:
2024-12-04 10:33:29 +01:00
parent b5d0dc3f2b
commit d608cff6fc
26 changed files with 479 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
/var/www/owncloud/data/owncloud.log {
size 10M
rotate 12
copytruncate
missingok
compress
compresscmd /bin/gzip
}

View File

@@ -0,0 +1,4 @@
#!/bin/bash
cd /var/www/owncloud
sudo -E -u www-data /usr/bin/php /var/www/owncloud/occ "$@"

View 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>

View File

@@ -0,0 +1 @@
extension=smbclient.so