feat: install new nextcloud nginx config, erase specific php-fpm-co config

This commit is contained in:
VC
2024-07-05 11:53:16 +02:00
parent 329d266368
commit 1667c2eb3b
4 changed files with 132 additions and 84 deletions

View File

@@ -3,9 +3,6 @@
- name: include ttrss for web1
include_tasks: ttrss.yml
when: inventory_hostname == 'web1.dmz.mateu.be'
- name: include php flag for NextCloud
include_tasks: nextcloud.yml
when: inventory_hostname == 'web1.dmz.mateu.be'
- name: include z-push
include_tasks: z-push.yml
when: inventory_hostname == 'web1.dmz.mateu.be'

View File

@@ -1,8 +0,0 @@
---
- name: php-fpm nextcloud specific configuration
template:
src: oc.conf.j2
dest: "/etc/php/{{ php_version }}/fpm/pool.d/oc.conf"
notify:
- restart php-fpm

View File

@@ -1,12 +0,0 @@
[oc]
user = www-data
group = www-data
listen = /run/php/php{{ php_version }}-fpm-oc.sock
listen.owner = www-data
listen.group = www-data
pm = dynamic
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 15
php_flag[zlib.output_compression] = Off