mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-13 21:57:49 +02:00
The Docker app.ini templates hard-coded REVERSE_PROXY_TRUSTED_PROXIES = *, so with ENABLE_REVERSE_PROXY_AUTHENTICATION enabled any source IP reaching the container could impersonate any user via the X-WEBAUTH-USER header. Align the templates with the documented loopback-only default (127.0.0.0/8,::1/128), matching app.example.ini and the in-code default. Assisted-by: Claude:claude-opus-4-8
Gitea - Docker
Dockerfile is found in the root of the repository.
Docker image can be found on docker hub.
Documentation on using docker image can be found on Gitea Docs site.