sameersbn / sameersbn/docker-gitlab
Multiple address or ip in GITLAB_TRUSTED_PROXIES variable
Open
Nobody has claimed this yet.
wontfix
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
What is the correct syntax to add multiple trusted_proxies in the GITLAB_TRUSTED_PROXIES variable?
I want to use sth like this:
version: '3.5'
services:
gitlab:
restart: always
image: sameersbn/gitlab
environment:
*** a lot of conf ***
- GITLAB_TRUSTED_PROXIES='192.168.100.0/24','x.x.x.x'
but I got this in config/gitlab.yml:
trusted_proxies:
- '192.168.100.0/24','x.x.x.x'
I want to use two or more trusted_proxies, But I can't, What is the solution?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting how GITLAB_TRUSTED_PROXIES is parsed into config/gitlab.yml, then compare that with the Docker Compose environment syntax shown in the issue. Verify the accepted representation for multiple proxy values and confirm that the generated trusted_proxies list contains each address or network.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100