etc/caddy
This commit is contained in:
35
etc/caddy/eureka.caddy
Normal file
35
etc/caddy/eureka.caddy
Normal file
@@ -0,0 +1,35 @@
|
||||
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}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user