feat: remove z-push
This commit is contained in:
@@ -105,8 +105,6 @@ webservers:
|
|||||||
- perso.nintendojo.fr
|
- perso.nintendojo.fr
|
||||||
- perso.libertus.eu
|
- perso.libertus.eu
|
||||||
- r.mateu.be
|
- r.mateu.be
|
||||||
- z.libertus.eu
|
|
||||||
- autodiscover.libertus.eu
|
|
||||||
web2.dmz.mateu.be:
|
web2.dmz.mateu.be:
|
||||||
web_hostname:
|
web_hostname:
|
||||||
- analyse.nintendojo.fr
|
- analyse.nintendojo.fr
|
||||||
|
@@ -1,41 +0,0 @@
|
|||||||
server {
|
|
||||||
listen *:443 ssl http2;
|
|
||||||
listen [::]:443 ssl http2;
|
|
||||||
|
|
||||||
server_name z.libertus.eu autodiscover.libertus.eu;
|
|
||||||
access_log /var/log/nginx/z.libertus.eu.access.log combined;
|
|
||||||
access_log syslog:server=unix:/dev/log combined;
|
|
||||||
error_log /var/log/nginx/z.libertus.eu.error.log;
|
|
||||||
error_log syslog:server=unix:/dev/log;
|
|
||||||
|
|
||||||
ssl_certificate /etc/x509/z.libertus.eu/fullchain.cer;
|
|
||||||
ssl_certificate_key /etc/x509/z.libertus.eu/z.libertus.eu.key;
|
|
||||||
|
|
||||||
root /usr/share/z-push;
|
|
||||||
index index.php;
|
|
||||||
|
|
||||||
client_max_body_size 20M;
|
|
||||||
client_body_buffer_size 128k;
|
|
||||||
keepalive_timeout 90;
|
|
||||||
proxy_read_timeout 1200;
|
|
||||||
sendfile on;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ index.php;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /Microsoft-Server-ActiveSync {
|
|
||||||
rewrite ^(.*)$ /index.php last;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~* ^/autodiscover/autodiscover\.xml$ {
|
|
||||||
rewrite ^(.*)$ /autodiscover/autodiscover.php last;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~* \.php$ {
|
|
||||||
include fastcgi_params;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;
|
|
||||||
fastcgi_read_timeout 1200;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -3,9 +3,6 @@
|
|||||||
- name: include ttrss for web1
|
- name: include ttrss for web1
|
||||||
include_tasks: ttrss.yml
|
include_tasks: ttrss.yml
|
||||||
when: inventory_hostname == 'web1.dmz.mateu.be'
|
when: inventory_hostname == 'web1.dmz.mateu.be'
|
||||||
- name: include z-push
|
|
||||||
include_tasks: z-push.yml
|
|
||||||
when: inventory_hostname == 'web1.dmz.mateu.be'
|
|
||||||
- name: include matomo for web2
|
- name: include matomo for web2
|
||||||
include_tasks: matomo.yml
|
include_tasks: matomo.yml
|
||||||
when: inventory_hostname == 'web2.dmz.mateu.be'
|
when: inventory_hostname == 'web2.dmz.mateu.be'
|
||||||
@@ -20,4 +17,4 @@
|
|||||||
when: inventory_hostname == 'ror1.dmz.mateu.be'
|
when: inventory_hostname == 'ror1.dmz.mateu.be'
|
||||||
- name: tootctl for mastodon
|
- name: tootctl for mastodon
|
||||||
include_tasks: tootctl.yml
|
include_tasks: tootctl.yml
|
||||||
when: inventory_hostname == 'ror1.dmz.mateu.be'
|
when: inventory_hostname in groups['rorservers']
|
||||||
|
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- name: install z-push repokey
|
|
||||||
apt_key:
|
|
||||||
url: https://download.kopano.io/zhub/z-push%3A/final/Debian_11/Release.key
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: install z-push repo
|
|
||||||
apt_repository:
|
|
||||||
repo: deb https://download.kopano.io/zhub/z-push:/final/Debian_11/ /
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: install z-push packages
|
|
||||||
package:
|
|
||||||
name: "{{ item }}"
|
|
||||||
state: present
|
|
||||||
loop:
|
|
||||||
- z-push-autodiscover
|
|
||||||
- z-push-backend-caldav
|
|
||||||
- z-push-backend-carddav
|
|
||||||
- z-push-backend-combined
|
|
||||||
- z-push-backend-imap
|
|
||||||
- z-push-common
|
|
||||||
- z-push-ipc-sharedmemory
|
|
||||||
- z-push-state-sql
|
|
||||||
|
|
||||||
- name: log directory
|
|
||||||
file:
|
|
||||||
path: /var/log/z-push/
|
|
||||||
owner: www-data
|
|
||||||
group: www-data
|
|
||||||
state: directory
|
|
Reference in New Issue
Block a user