Skip to content

Commit

Permalink
when the default dashboard index.php is missing fallack to the nodash…
Browse files Browse the repository at this point in the history
…oard.html file
  • Loading branch information
tomjn committed Jun 18, 2024
1 parent f1cb6b7 commit 89ffba0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion provision/core/nginx/config/sites/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ server {
root /usr/share/nginx/html;
}

location = /nodashboard.html {
ssi on;
internal;
auth_basic off;
root /usr/share/nginx/html;
}

include /etc/nginx/custom-dashboard-extensions/*.conf;

location / {
index index.php;
index index.php /nodashboard.html;
try_files $uri $uri/ /index.php$is_args$args;
}

Expand Down

0 comments on commit 89ffba0

Please sign in to comment.