Update Serveurs/routeur.md

This commit is contained in:
Adrien Bourmault 2022-08-31 19:48:16 +00:00
parent abe583eb00
commit b9993b64e3
1 changed files with 59 additions and 59 deletions

View File

@ -1081,7 +1081,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://isengard.lan:80"; set $target "http://isengard.libre-en-communs.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1094,7 +1094,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://gestion.lan:80"; set $target "http://gestion.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1107,7 +1107,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://gestion.lan:80"; set $target "http://gestion.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
@ -1121,7 +1121,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://gestion.lan:80"; set $target "http://gestion.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1135,7 +1135,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://audio.lan:80"; set $target "http://audio.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1148,7 +1148,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://gestion.lan:80"; set $target "http://gestion.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1161,7 +1161,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://git.lan:80"; set $target "http://git.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1174,7 +1174,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://www.lan:80"; set $target "http://www.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1187,7 +1187,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://www.lan:80"; set $target "http://www.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1200,7 +1200,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://toot.lan:80"; set $target "http://toot.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1213,7 +1213,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://mail.lan:80"; set $target "http://mail.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1226,7 +1226,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://mail.lan:80"; set $target "http://mail.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1239,7 +1239,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://xmpp.lan:80"; set $target "http://xmpp.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1251,7 +1251,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://xmpp.lan:80"; set $target "http://xmpp.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1263,7 +1263,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://xmpp.lan:80"; set $target "http://xmpp.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1275,7 +1275,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://proxy.lan:80"; set $target "http://proxy.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1288,7 +1288,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://ghn.lan:80"; set $target "http://ghn.a-lec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1303,7 +1303,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://audio.chalec.org.lan:80"; set $target "http://audio.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1315,7 +1315,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://toot.chalec.org.lan:80"; set $target "http://toot.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1327,7 +1327,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://nuage.chalec.org.lan:80"; set $target "http://nuage.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1340,7 +1340,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://forge.chalec.org.lan:80"; set $target "http://forge.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1353,7 +1353,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://ctrlv.chalec.org.lan:80"; set $target "http://ctrlv.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1366,7 +1366,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://sondage.chalec.org.lan:80"; set $target "http://sondage.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1379,7 +1379,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://visio.chalec.org.lan:80"; set $target "http://visio.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1392,7 +1392,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://video.chalec.org.lan:80"; set $target "http://video.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1405,7 +1405,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://libreverse.chalec.org.lan:80"; set $target "http://libreverse.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1418,7 +1418,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://xmpp.chalec.org.lan:80"; set $target "http://xmpp.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1431,7 +1431,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://pad.chalec.org.lan:80"; set $target "http://pad.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1444,7 +1444,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://stats.chalec.org.lan:80"; set $target "http://stats.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1457,7 +1457,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://www.chalec.org.lan:80"; set $target "http://www.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1470,7 +1470,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://www.chalec.org.lan:80"; set $target "http://www.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1482,7 +1482,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://petition.chalec.org.lan:80"; set $target "http://petition.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1495,7 +1495,7 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://www.chalec.org.lan:80"; set $target "http://www.chalec.org:80";
proxy_pass $target; proxy_pass $target;
} }
} }
@ -1508,10 +1508,10 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { location / {
set $target "http://xmpp.chalec.org.lan:80"; set $target "http://xmpp.chalec.org:80";
proxy_pass $target; proxy_pass $target;
}
} }
}
@ -1524,7 +1524,6 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
map_hash_max_size 64; map_hash_max_size 64;
map_hash_bucket_size 64; map_hash_bucket_size 64;
map $ssl_preread_server_name $name_444 { map $ssl_preread_server_name $name_444 {
### INFRA
gestion.a-lec.org gestion_a-lec_444; gestion.a-lec.org gestion_a-lec_444;
don.a-lec.org gestion_a-lec_444; don.a-lec.org gestion_a-lec_444;
adhesion.a-lec.org gestion_a-lec_444; adhesion.a-lec.org gestion_a-lec_444;
@ -1562,35 +1561,35 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
} }
upstream gestion_a-lec_444 { upstream gestion_a-lec_444 {
server gestion:444; server gestion.a-lec.org:444;
} }
upstream ghn_a-lec_444 { upstream ghn_a-lec_444 {
server ghn:444; server ghn.a-lec.org:444;
} }
upstream tootest_a-lec_444 { upstream tootest_a-lec_444 {
server tootest:444; server tootest.a-lec.org:444;
} }
upstream audio_a-lec_444 { upstream audio_a-lec_444 {
server audio:444; server audio.a-lec.org:444;
} }
upstream git_a-lec_444 { upstream git_a-lec_444 {
server git:444; server git.a-lec.org:444;
} }
upstream mail_a-lec_444 { upstream mail_a-lec_444 {
server mail:444; server mail.a-lec.org:444;
} }
upstream www_a-lec_444 { upstream www_a-lec_444 {
server www:444; server www.a-lec.org:444;
} }
upstream toot_a-lec_444 { upstream toot_a-lec_444 {
server toot:444; server toot.a-lec.org:444;
} }
upstream routeur_444 { upstream routeur_444 {
@ -1598,67 +1597,67 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
} }
upstream isengard_444 { upstream isengard_444 {
server isengard:444; server isengard.libre-en-communs.org:444;
} }
### CHALEC ### CHALEC
upstream audio_chalec_444 { upstream audio_chalec_444 {
server audio.chalec.org.lan:444; server audio.chalec.org:444;
} }
upstream nuage_chalec_444 { upstream nuage_chalec_444 {
server nuage.chalec.org.lan:444; server nuage.chalec.org:444;
} }
upstream toot_chalec_444 { upstream toot_chalec_444 {
server toot.chalec.org.lan:444; server toot.chalec.org:444;
} }
upstream forge_chalec_444 { upstream forge_chalec_444 {
server forge.chalec.org.lan:444; server forge.chalec.org:444;
} }
upstream ctrlv_chalec_444 { upstream ctrlv_chalec_444 {
server ctrlv.chalec.org.lan:444; server ctrlv.chalec.org:444;
} }
upstream pad_chalec_444 { upstream pad_chalec_444 {
server pad.chalec.org.lan:444; server pad.chalec.org:444;
} }
upstream sondage_chalec_444 { upstream sondage_chalec_444 {
server sondage.chalec.org.lan:444; server sondage.chalec.org:444;
} }
upstream stats_chalec_444 { upstream stats_chalec_444 {
server stats.chalec.org.lan:444; server stats.chalec.org:444;
} }
upstream visio_chalec_444 { upstream visio_chalec_444 {
server visio.chalec.org.lan:444; server visio.chalec.org:444;
} }
upstream video_chalec_444 { upstream video_chalec_444 {
server video.chalec.org.lan:444; server video.chalec.org:444;
} }
upstream libreverse_chalec_444 { upstream libreverse_chalec_444 {
server libreverse.chalec.org.lan:444; server libreverse.chalec.org:444;
} }
upstream xmpp_chalec_444 { upstream xmpp_chalec_444 {
server xmpp.chalec.org.lan:444; server xmpp.chalec.org:444;
} }
upstream petition_chalec_444 { upstream petition_chalec_444 {
server petition.chalec.org.lan:444; server petition.chalec.org:444;
} }
upstream www_chalec_444 { upstream www_chalec_444 {
server www.chalec.org.lan:444; server www.chalec.org:444;
} }
### SERVER ### SERVER
@ -1670,4 +1669,5 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
ssl_preread on; ssl_preread on;
} }
</details> </details>