fixed reverse proxy directives
This commit is contained in:
parent
164a9b924f
commit
980e3e9f01
1 changed files with 6 additions and 3 deletions
|
@ -2003,7 +2003,8 @@ Ensuite, nous avons mis en place l'environnement serveur requis pour le déploie
|
||||||
# Caddyfile
|
# Caddyfile
|
||||||
|
|
||||||
1123-jaune-1.wns.wilders.dev {
|
1123-jaune-1.wns.wilders.dev {
|
||||||
# Redirect request to production running on port 8000 reverse_proxy localhost:8000
|
# Redirect request to production running on port 8000
|
||||||
|
reverse_proxy localhost:8000
|
||||||
|
|
||||||
# log
|
# log
|
||||||
log {
|
log {
|
||||||
|
@ -2012,7 +2013,8 @@ Ensuite, nous avons mis en place l'environnement serveur requis pour le déploie
|
||||||
}
|
}
|
||||||
|
|
||||||
staging.1123-jaune-1.wns.wilders.dev {
|
staging.1123-jaune-1.wns.wilders.dev {
|
||||||
# Redirect request to staging running on port 8001 reverse_proxy localhost:8001
|
# Redirect request to staging running on port 8001
|
||||||
|
reverse_proxy localhost:8001
|
||||||
|
|
||||||
# log
|
# log
|
||||||
log {
|
log {
|
||||||
|
@ -2021,7 +2023,8 @@ Ensuite, nous avons mis en place l'environnement serveur requis pour le déploie
|
||||||
}
|
}
|
||||||
|
|
||||||
ops.1123-jaune-1.wns.wilders.dev {
|
ops.1123-jaune-1.wns.wilders.dev {
|
||||||
# Redirect request to webhook service running on port 9000 reverse_proxy localhost:9000
|
# Redirect request to webhook service running on port 9000
|
||||||
|
reverse_proxy localhost:9000
|
||||||
# log
|
# log
|
||||||
log {
|
log {
|
||||||
output file /var/log/caddy/ops.log
|
output file /var/log/caddy/ops.log
|
||||||
|
|
Loading…
Reference in a new issue