sameersbn / sameersbn/docker-gitlab

GITLAB_RELATIVE_URL_ROOT problem

Open
#881 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.