Update Serveurs/routeur.md
This commit is contained in:
parent
b61fe2b5e9
commit
abe583eb00
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue