add ansible roles
This commit is contained in:
17
nextcloud/templates/cloud.conf.j2
Normal file
17
nextcloud/templates/cloud.conf.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName {{ hostname }}.{{ domain_base }}
|
||||
DirectoryIndex index.php index.html
|
||||
DocumentRoot {{ web_root }}
|
||||
<Directory {{ web_root }}>
|
||||
Options FollowSymLinks MultiViews
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
<IfModule mod_dav.c>
|
||||
Dav off
|
||||
</IfModule>
|
||||
|
||||
#SetEnv HOME {{ web_root }}
|
||||
#SetEnv HTTP_HOME {{ web_root }}
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
4
nextcloud/templates/occ.j2
Normal file
4
nextcloud/templates/occ.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /var/www/nextcloud || exit
|
||||
sudo -E -u www-data /usr/bin/php /var/www/nextcloud/occ "$@"
|
||||
Reference in New Issue
Block a user