Use GitLab pages without wilcard domains
I cannot setup my git server as Pages is intended with the URL format of namespace.mygit.com/project
. Is there a way to set up Nginx to read from the pages root folder so that I can have pages.mygit.com/namespace/project
or even mygit.com/pages/namespace/project
? I'm not sure how to have Nginx route pages-root/group/project/public/subpath
to pages-root/group/project/subpath
(remove the public
subdir hierarchy). This sort of path system is very reminiscent of the old UNIX ~user
servers.