Files
linux-debian/etc/caddy/eureka.caddy
2025-10-02 10:17:19 +02:00

36 lines
867 B
Plaintext

eureka-informatique.fr {
redir https://www.{host}{uri}
}
boutique.eureka-informatique.fr {
@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}
}
}
boutique8.eureka-informatique.fr {
@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}
}
}
www.eureka-informatique.fr {
@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}
}
}