From ae75f1eaabb66b4f039dec57ceddee84b3b27ae1 Mon Sep 17 00:00:00 2001 From: VC Date: Fri, 5 Jul 2024 11:53:13 +0200 Subject: [PATCH] feature(inventory): delete web4 and rhea --- production | 6 --- .../vhosts/www.ramage2022.fr.conf.j2 | 49 ------------------- 2 files changed, 55 deletions(-) delete mode 100644 roles/nginx/templates/vhosts/www.ramage2022.fr.conf.j2 diff --git a/production b/production index 998b4d7..79492d0 100644 --- a/production +++ b/production @@ -8,7 +8,6 @@ machinbox.mateu.be claude.dmz.mateu.be dimitri.dmz.mateu.be edelgard.dmz.mateu.be -rhea.dmz.mateu.be [borgbackup:children] borg_server @@ -24,7 +23,6 @@ bt.dmz.mateu.be borg_backup_path="['/etc', '/var/lib/transmission-daemon']" web1.dmz.mateu.be web2.dmz.mateu.be web3.dmz.mateu.be -web4.dmz.mateu.be mail.dmz.mateu.be borg_backup_path="['/home', '/etc', '/var/lib/mailman']" jabber.dmz.mateu.be borg_backup_path="['/etc', '/var/lib/prosody']" voice1.dmz.mateu.be borg_backup_path="['/etc', '/var/lib/mumble-server']" @@ -41,14 +39,12 @@ edelgard.dmz.mateu.be claude.dmz.mateu.be dimitri.dmz.mateu.be edelgard.dmz.mateu.be -rhea.dmz.mateu.be [webservers] bt.dmz.mateu.be web_hostname="['sonarr.mateu.be','bt.mateu.be','btf.mateu.be']" web1.dmz.mateu.be web_hostname="['fav.libertus.eu', 'rss.libertus.eu', 'o.libertus.eu', 'blog.libertus.eu', 'mail.libertus.eu', 'perso.nintendojo.fr', 'perso.libertus.eu', 'r.mateu.be','z.libertus.eu', 'autodiscover.libertus.eu']" web2.dmz.mateu.be web_hostname="['analyse.nintendojo.fr', 'nintendojo.fr', 'www.nintendojo.fr', 'forum.nintendojo.fr']" web3.dmz.mateu.be web_hostname="['sebicomics.com', 'www.sebicomics.com']" -web4.dmz.mateu.be web_hostname="['web4.dmz.mateu.be', 'ramage2022.fr', 'www.ramage2022.fr']" ror.dmz.mateu.be web_hostname="['m.nintendojo.fr']" jabber.dmz.mateu.be web_hostname="['libertus.eu', 'upload.libertus.eu', 'xmpp.libertus.eu']" voice3.dmz.mateu.be web_hostname="['radio.nintendojo.fr']" @@ -59,7 +55,6 @@ munin.dmz.mateu.be web_hostname="['munin.mateu.be']" web1.dmz.mateu.be php_modules="['opcache', 'mysql', 'mbstring', 'gd', 'intl', 'curl', 'gettext', 'imap', 'zip', 'apcu']" web2.dmz.mateu.be php_modules="['opcache', 'mysql', 'mbstring', 'gd', 'xml', 'bcmath', 'curl', 'imagick']" web3.dmz.mateu.be php_modules="['opcache', 'mysql', 'mbstring', 'gd', 'xml', 'bcmath', 'curl', 'imagick']" -web4.dmz.mateu.be php_modules="['opcache', 'mysql', 'mbstring', 'gd', 'xml', 'bcmath', 'curl', 'imagick']" [dockerservers] ror.dmz.mateu.be @@ -68,7 +63,6 @@ ror.dmz.mateu.be web1.dmz.mateu.be web2.dmz.mateu.be web3.dmz.mateu.be -web4.dmz.mateu.be [pgsqlservers] ror.dmz.mateu.be diff --git a/roles/nginx/templates/vhosts/www.ramage2022.fr.conf.j2 b/roles/nginx/templates/vhosts/www.ramage2022.fr.conf.j2 deleted file mode 100644 index 9decea4..0000000 --- a/roles/nginx/templates/vhosts/www.ramage2022.fr.conf.j2 +++ /dev/null @@ -1,49 +0,0 @@ -## WP Sebicomics -server { - listen *:443 ssl http2; - listen [::]:443 ssl http2; - server_name web4.dmz.mateu.be; - access_log /var/log/nginx/www.ramage2022.fr.access.log combined; - access_log syslog:server=unix:/dev/log combined; - error_log /var/log/nginx/www.ramage2022.fr.error.log; - error_log syslog:server=unix:/dev/log; - ssl_certificate /etc/x509/web4.dmz.mateu.be/fullchain.cer; - ssl_certificate_key /etc/x509/web4.dmz.mateu.be/web4.dmz.mateu.be.key; - - root /srv/http/www.ramage2022.fr/; - index index.html index.htm index.php; - - client_max_body_size 512M; - - # couper les fichiers cachés - location ~* /(?:uploads|files)/.*\.php$ { - deny all; - } - - # Optimisation des images - location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ { - expires 1w; - log_not_found off; - } - - # Interprétation PHP - location ~ ^/(index).php(/.*)+ { - fastcgi_split_path_info ^(.+\.php)(/.*)$; - try_files $fastcgi_script_name =404; - fastcgi_ignore_headers Cache-Control Expires Set-Cookie; - fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock; - fastcgi_read_timeout 60; - include fastcgi_params; - } - - location ~ \.php$ { - try_files $uri $uri/ =404; - fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock; - fastcgi_read_timeout 60; - include fastcgi_params; - } - - location / { - try_files $uri $uri/ /index.php$uri?$args; - } -}