mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-22 20:18:58 +02:00
16 read ip address from x forwarded for or x real ip instead of remoteaddr if it exists (#17)
* Handle X forwarded for in the plugin * Update docker-compose.cloudflare.yml Change to version v1.0.9 * 🍱 fix + isolate cache * 🍱 missing files * 🍱 lint Co-authored-by: MathieuHa <mathieu@hanotaux.fr> Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com>
This commit is contained in:
co-authored by
MathieuHa
Max Lerebourg
parent
6dde683a0a
commit
552b30a9ef
@@ -0,0 +1,15 @@
|
||||
http:
|
||||
# Add the router
|
||||
routers:
|
||||
router0:
|
||||
entryPoints:
|
||||
- web
|
||||
service: service-foo
|
||||
rule: Path(`/foo`)
|
||||
|
||||
# Add the service
|
||||
services:
|
||||
service-foo:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://traefik/foo:80
|
||||
Reference in New Issue
Block a user