Skip to content

Custom error pages #18

Description

@mechanicjay

Official Gitlab Pages explains that for a custom 404 page on your site, simply add a 404.html into the root of your site:
https://docs.gitlab.com/ee/pages/README.html#custom-error-codes-pages

As it turns out, this is trivial to implement:
Add the following line to /src/helper/template.conf:
error_page 404 = /404.html;

Setup this up and is working well in my environment now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions