diff --git a/setup/start/nginx/appconfig.ejs b/setup/start/nginx/appconfig.ejs index 12c129495..f4f99c457 100644 --- a/setup/start/nginx/appconfig.ejs +++ b/setup/start/nginx/appconfig.ejs @@ -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; diff --git a/webadmin/src/error.html b/webadmin/src/error.html index 054e284c8..46fed18e9 100644 --- a/webadmin/src/error.html +++ b/webadmin/src/error.html @@ -90,10 +90,6 @@ Please use the setup link you received via mail. -
-

Nothing to be found here

-
-