diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2016-02-26 17:31:05 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2016-02-26 17:31:05 +0300 |
commit | 69b75ba90e919d4b86496baf0e6071f44b6de707 (patch) | |
tree | a5107f96fcd5f15566b7625b2bc808461733b2e7 /404.go | |
parent | d074949316eba3da84bd1dd46f80eec2800763dc (diff) | |
parent | 274c4f8aabfcc1bc41634f9fb1ffb29ce57fda11 (diff) |
Merge branch 'handle-404' into 'master'
Present user-provided 404 pages
If the 404.html is present in root of project it will be presented instead of generic 404.
**Example:**
1. If you use the project page (served under /project/) and try to access: `/project/non/exsiting/file` we will try to serve: `/project/404.html`, then `/404.html`.
1. If you use the group page (served under /) and try to access `/non/existing/file` we will try to serve: `/404.html`.
1. If you use custom domain and try to access: `/non/existing/file` we will try to server `/404.html` only.
cc @axil
Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/318
See merge request !2
Diffstat (limited to '404.go')
0 files changed, 0 insertions, 0 deletions