forked from Deuxfleurs/nixcfg
staging: test de Deuxfleurs/tricot#16
(fonctionnalité de tricot permettant de blocker certains user-agent)
This commit is contained in:
parent
90f861e1e1
commit
1c224fcece
2 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,7 @@ job "core-tricot" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "armael/tricot:n6dk1b5xrdww12zf12jbcmihqs6g1brz"
|
image = "armael/tricot:8sa24l6pxdppb5gq0nnj9kvcl9mijliy-block_user_agent"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
readonly_rootfs = true
|
readonly_rootfs = true
|
||||||
ports = [ "http_port", "https_port" ]
|
ports = [ "http_port", "https_port" ]
|
||||||
|
|
|
@ -192,6 +192,9 @@ job "garage-staging" {
|
||||||
"tricot-add-header Access-Control-Allow-Origin *",
|
"tricot-add-header Access-Control-Allow-Origin *",
|
||||||
"tricot-on-demand-tls-ask http://garage-staging-admin.service.staging.consul:3909/check",
|
"tricot-on-demand-tls-ask http://garage-staging-admin.service.staging.consul:3909/check",
|
||||||
"tricot-site-lb",
|
"tricot-site-lb",
|
||||||
|
"tricot-block-user-agent Claude-Web",
|
||||||
|
"tricot-block-user-agent ClaudeBot",
|
||||||
|
"tricot-block-user-agent anthropic-ai",
|
||||||
]
|
]
|
||||||
port = "web"
|
port = "web"
|
||||||
# Check 1: Garage is alive and answering TCP connections
|
# Check 1: Garage is alive and answering TCP connections
|
||||||
|
|
Loading…
Reference in a new issue