admin:services:wiki.chapril.org-old
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| admin:services:wiki.chapril.org-old [2024/01/09 21:03] – ↷ Nom de la page changé de admin:services:wiki.chapril.org à admin:services:wiki.chapril.org-old pitchum | admin:services:wiki.chapril.org-old [2024/10/02 17:22] (Version actuelle) – Remove obsolete page pitchum | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ======= Service wiki.chapril.org ======= | ||
| - | Redirection vers le projet Chapril dans le wiki de l' | ||
| - | |||
| - | |||
| - | ===== Déploiement ===== | ||
| - | |||
| - | ==== DNS ==== | ||
| - | Configuration du fichier DNS : | ||
| - | < | ||
| - | =(^-^)=root@dns:/ | ||
| - | diff --git a/ | ||
| - | index a5368c5..cb20fcd 100644 | ||
| - | --- a/ | ||
| - | +++ b/ | ||
| - | @@ -3,7 +3,7 @@ | ||
| - | |||
| - | $TTL 1h | ||
| - | | ||
| - | - | ||
| - | + | ||
| - | 4h ; Refresh | ||
| - | 1h ; Retry | ||
| - | 1w ; Expire | ||
| - | @@ -50,6 +50,10 @@ icinga2 CNAME galanga.april.org. | ||
| - | | ||
| - | | ||
| - | |||
| - | +; redirections | ||
| - | +wiki CNAME fip | ||
| - | + | ||
| - | ; XMPP (old) | ||
| - | | ||
| - | | ||
| - | </ | ||
| - | |||
| - | Activation : | ||
| - | < | ||
| - | rndc reload chapril.org in external | ||
| - | </ | ||
| - | |||
| - | |||
| - | ==== Bastion ==== | ||
| - | Configuration du certificat SSL : | ||
| - | < | ||
| - | =(^-^)=root@bastion:/ | ||
| - | diff --git a/ | ||
| - | index b53ff9c..662eb8a 100644 | ||
| - | --- a/ | ||
| - | +++ b/ | ||
| - | @@ -15,3 +15,5 @@ pad.chapril.org | ||
| - | | ||
| - | | ||
| - | | ||
| - | +wiki.chapril.org | ||
| - | </ | ||
| - | |||
| - | Activation : | ||
| - | < | ||
| - | dehydrated -c | ||
| - | </ | ||
| - | |||
| - | Configuration du serveur web sur la vm bastion : | ||
| - | < | ||
| - | =(^-^)=root@bastion:/ | ||
| - | server { | ||
| - | listen 80; | ||
| - | listen [::]:80; | ||
| - | | ||
| - | server_name wiki.chapril.org; | ||
| - | |||
| - | access_log / | ||
| - | error_log / | ||
| - | |||
| - | # include / | ||
| - | include / | ||
| - | include / | ||
| - | include / | ||
| - | } | ||
| - | |||
| - | |||
| - | server { | ||
| - | listen 443 ssl; | ||
| - | listen [::]:443 ssl; | ||
| - | ssl on; | ||
| - | | ||
| - | server_name wiki.chapril.org; | ||
| - | |||
| - | access_log / | ||
| - | error_log / | ||
| - | |||
| - | # include / | ||
| - | ssl_certificate | ||
| - | ssl_certificate_key / | ||
| - | |||
| - | include / | ||
| - | include / | ||
| - | |||
| - | return 301 https:// | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | Création du dossier de logs : | ||
| - | < | ||
| - | mkdir / | ||
| - | ln -sf / | ||
| - | </ | ||
| - | |||
| - | Activation : | ||
| - | < | ||
| - | nginx -t | ||
| - | systemctl reload nginx | ||
| - | </ | ||
| - | |||
| - | ==== Supervision ==== | ||
| - | |||
| - | Monitoring ajouté : | ||
| - | < | ||
| - | =(^-^)=root@admin:/ | ||
| - | diff --git a/ | ||
| - | index da31c6c..53127e4 100644 | ||
| - | --- a/ | ||
| - | +++ b/ | ||
| - | @@ -25,6 +25,20 @@ object Host " | ||
| - | | ||
| - | } | ||
| - | |||
| - | + vars.http_vhosts[" | ||
| - | + http_vhost = " | ||
| - | + http_ssl = true | ||
| - | + http_uri = "/" | ||
| - | + http_expect = " | ||
| - | + } | ||
| - | + | ||
| - | /* Define notification mail attributes for notification apply rules in `notifications.conf`. */ | ||
| - | | ||
| - | /* The UserGroup `icingaadmins` is defined in `users.conf`. */ | ||
| - | |||
| - | </ | ||
admin/services/wiki.chapril.org-old.1704834201.txt.gz · Dernière modification : 2024/01/09 21:03 de pitchum
