Redirect to / on dashboard 404
This commit is contained in:
@@ -269,9 +269,14 @@ server {
|
||||
# client_max_body_size 1m;
|
||||
# }
|
||||
|
||||
location @dashboarderrorredirect {
|
||||
return 302 /;
|
||||
}
|
||||
|
||||
location / {
|
||||
root <%= sourceDir %>/dashboard/dist;
|
||||
index index.html index.htm;
|
||||
error_page 404 = @dashboarderrorredirect;
|
||||
}
|
||||
|
||||
# Cross domain webfont access for proxy auth login page https://github.com/h5bp/server-configs/issues/85
|
||||
|
||||
Reference in New Issue
Block a user