sameersbn / sameersbn/docker-gitlab
GITLAB_RELATIVE_URL_ROOT problem
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
Similar to https://github.com/sameersbn/docker-redmine/issues/218 issue.
When I first time login to http://DEVICE_IP/gitlab
After submit change password action.
It will shows 422 Error.
My docker-compose.yml setting:
GITLAB_RELATIVE_URL_ROOT=/gitlab
Apache ProxyPass setting:
ProxyPass /gitlab http://127.0.0.1:10080/gitlab
ProxyPassReverse /gitlab http://127.0.0.1:10080/gitlab
But if I change setting with trailing slash.
GITLAB_RELATIVE_URL_ROOT=/gitlab/
It can change password successful.
But in the document it says SHOULD NOT have any trailing slashes.
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 with the docker-compose.yml environment setting and the Apache ProxyPass configuration. Reproduce the first-login password change with and without the trailing slash in GITLAB_RELATIVE_URL_ROOT, then compare the behavior with the documented requirement. Done means the documented no-trailing-slash configuration succeeds without a 422 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, docker, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100