Revert "Add basic 404 page"

This reverts commit 3793220dd48356d5fe421312915a8392fcccca0e.
This commit is contained in:
Johannes Zellner
2016-07-27 19:09:43 +02:00
parent 2ac7c15b90
commit 867e875707
2 changed files with 0 additions and 11 deletions

View File

@@ -57,13 +57,6 @@ server {
client_max_body_size 0;
<% if ( endpoint === 'admin' ) { %>
error_page 404 = @fallback;
location @fallback {
internal;
root /home/yellowtent/box/webadmin/dist;
rewrite ^/$ /error.html?errorCode=4 break;
}
location /api/ {
proxy_pass http://127.0.0.1:3000;
client_max_body_size 1m;