Update Serveurs/routeur.md

This commit is contained in:
Adrien Bourmault 2022-08-29 22:03:07 +00:00
parent b61fe2b5e9
commit abe583eb00
1 changed files with 15 additions and 0 deletions

View File

@ -1500,6 +1500,21 @@ Enfin, la configuration générale de nginx ainsi que le bloc pour le serveur co
}
}
server {
server_name xmpp.chalec.org;
listen 80;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / {
set $target "http://xmpp.chalec.org.lan:80";
proxy_pass $target;
}
}
</details>