Transfert de TDM
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user