Transfert de TDM

This commit is contained in:
2025-10-31 11:28:29 +01:00
parent b22ae3c851
commit 3069372fdd
6 changed files with 57 additions and 2 deletions

View File

@@ -11,5 +11,15 @@ import /etc/caddy/eureka.caddy
import /etc/caddy/neotech.caddy
import /etc/caddy/phpmyadmin_neotech.caddy
www.tdm-pompes.com {
@badbots header_regexp badbots User-Agent "(?i)(BLEXBot|GPTBot|YandexBot|MJ12bot)"
respond @badbots 403
reverse_proxy localhost:8000 {
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-For {remote_host}
}
}
# Refer to the Caddy docs for more information:
# https://caddyserver.com/docs/caddyfile