Closed mechanicjay closed 7 years ago
Need some tests and document for this.
After I created some tests and played around with this for a while. I found this solution won't always work because vhost config is only created after you specify a CNAME for a certain project.
For now, I can only make it possible for projects with CNAME to have customizable 404.html
and leave a shared 404.html
for the rest.
Any idea to solve this divergence?
Adds an error page directive to each vhost. This allows custom 404 pages in the same way the official gitlab pages does: just add a 404.html to your project.
If you don't add a 404.html to your project, the behaviour is the same as today: a generic nginx 404 page.