mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 09:01:38 +01:00
feat: add nginx nextcloud config
This commit is contained in:
@@ -5,3 +5,17 @@
|
||||
name: Nextcloud cron-cleanup
|
||||
job: /usr/bin/sudo -u www-data /usr/bin/php -f /var/www/nextcloud/cron.php
|
||||
user: root
|
||||
|
||||
- name: Template nginx base conf
|
||||
template:
|
||||
src: nginx.conf
|
||||
dest: /etc/nginx/nginx.conf
|
||||
notify:
|
||||
- reload nginx
|
||||
|
||||
- name: Template nginx nextcloud conf
|
||||
template:
|
||||
src: nginx-nextcloud.conf
|
||||
dest: /etc/nginx/sites-enabled/nextcloud.conf
|
||||
notify:
|
||||
- reload nginx
|
||||
|
||||
Reference in New Issue
Block a user