Skip to content

Commit

Permalink
bugfix: return 404 Not Found when the dashboard folder is empty. (#…
Browse files Browse the repository at this point in the history
…1799)

close #1794
  • Loading branch information
xxm404 authored Jul 3, 2020
1 parent e6e387a commit 794b1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/apisix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 %}
Expand Down

0 comments on commit 794b1eb

Please sign in to comment.