add forwarded-for header for forgejo
This commit is contained in:
parent
84521ec8a9
commit
59db3b2fb7
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ services:
|
|||
- traefik.http.routers.forgejo.service=forgejo
|
||||
- traefik.http.services.forgejo.loadbalancer.server.port=3000
|
||||
- traefik.docker.network=traefik
|
||||
- traefik.http.middlewares.set-forwarded-for.headers.hostsProxyHeaders=X-Forwarded-For
|
||||
- traefik.http.routers.forgejo.middlewares=set-forwarded-for
|
||||
configs:
|
||||
- source: config
|
||||
target: /data/gitea/conf/app.ini
|
||||
|
|
Reference in a new issue