diff --git a/bin/apisix b/bin/apisix index d2d6f90badfb..4d7857ada722 100755 --- a/bin/apisix +++ b/bin/apisix @@ -323,7 +323,7 @@ http { alias dashboard/; - try_files $uri $uri/index.html /index.html; + try_files $uri $uri/index.html /index.html =404; } location /robots.txt { @@ -393,7 +393,7 @@ http { alias dashboard/; - try_files $uri $uri/index.html /index.html; + try_files $uri $uri/index.html /index.html =404; } {% end %}