This causes cgit to serve error pages, which is undesirable. This reverts commit 5229c9b232, reversing changes made to f2b211131f.
5229c9b232
f2b211131f