Gitlab Pages 404 "unmatched_route"

Hello evryone,

I’m using Omnibus CE 15.4 self-managed.
I want to use Gitlab Page but all i got is a 404 not found error.

What i have done to setup the page:

  1. Edit the gitlab.rb with this information:
pages_external_url ""
gitlab_pages['enable'] = true
  1. Add the cert page.key and crt in /etc/gitlab/ssl

  1. Add a directory public in my repository with an index.html file

  2. Add the basic gitlab-ci example as follow

    - pages

  stage: pages
    - .my_builder  
    - echo "Push page"
      - public

I got the 2 jobs pages and deploy, with this last log

Uploading artifacts...
public: found 6 matching files
Uploading artifacts to coordinator... ok id=1027 responseStatus=201 Created token=XXXXX
Job succeeded

I look at my Settings in Gitlab, and i got the section Page, great !
I click on the link

And all i got is a big 404 error in the middle of the page.

I go to the server to check the log

gitlab-ctl tail | grep page

Started GET "/myprojectname" for XXX.XX.XXX.XX at 2022-11-16 10:42:14 +0000
  Parameters: {"unmatched_route"=>"myprojectname"}


etc ...

Did i miss something to configure the route ? In the documentation it says the route is auto configured, am i wrong ?

Thanks for help !

Best regards

Any tech from Gitlab to help please ?

Best regards,

I should had the port in the external_url in the gitlab.rb and add the port to my docker-compose, now evrything works great.