PDF review error using relative url root
I'm using gitlab/gitlab-ce:latest
docker image.
In my docker-compose.yml
, I set something like this to enable relative url root:
hostname: 'my.domain.com'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://my.domain.com/git'
Everything else works well.
But when reviewing PDF file in gitlab, the PDF file cannot be loaded successfully. One of the assets:
GET https://my.domain.com/assets/webpack/8fbb4c9ec246ec52f7f6699033d276ab.js [HTTP/1.1 404 NOT FOUND]
Obviously, /git
is missed in this url.
I'm new to gitlab. How can I fix this?
Edited by Mike Greiling