forked from Deuxfleurs/nixcfg
prod: enable site load balancing in tricot
This commit is contained in:
parent
6036f5a1b7
commit
14bea296da
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,7 @@ job "garage" {
|
||||||
"garage_api",
|
"garage_api",
|
||||||
"tricot garage.deuxfleurs.fr",
|
"tricot garage.deuxfleurs.fr",
|
||||||
"tricot *.garage.deuxfleurs.fr",
|
"tricot *.garage.deuxfleurs.fr",
|
||||||
|
"tricot-site-lb",
|
||||||
]
|
]
|
||||||
port = 3900
|
port = 3900
|
||||||
address_mode = "driver"
|
address_mode = "driver"
|
||||||
|
@ -100,6 +101,7 @@ job "garage" {
|
||||||
"tricot-add-header Strict-Transport-Security max-age=63072000; includeSubDomains; preload",
|
"tricot-add-header Strict-Transport-Security max-age=63072000; includeSubDomains; preload",
|
||||||
"tricot-add-header X-Frame-Options SAMEORIGIN",
|
"tricot-add-header X-Frame-Options SAMEORIGIN",
|
||||||
"tricot-add-header X-XSS-Protection 1; mode=block",
|
"tricot-add-header X-XSS-Protection 1; mode=block",
|
||||||
|
"tricot-site-lb",
|
||||||
]
|
]
|
||||||
port = 3902
|
port = 3902
|
||||||
address_mode = "driver"
|
address_mode = "driver"
|
||||||
|
@ -140,6 +142,7 @@ job "garage" {
|
||||||
tags = [
|
tags = [
|
||||||
"garage_k2v",
|
"garage_k2v",
|
||||||
"tricot k2v.deuxfleurs.fr",
|
"tricot k2v.deuxfleurs.fr",
|
||||||
|
"tricot-site-lb",
|
||||||
]
|
]
|
||||||
port = 3904
|
port = 3904
|
||||||
address_mode = "driver"
|
address_mode = "driver"
|
||||||
|
|
Loading…
Reference in a new issue