Skip to content

Commit

Permalink
fix: update the default UI configuration for nginx
Browse files Browse the repository at this point in the history
(cherry picked from commit b3353ab)
  • Loading branch information
leleueri committed Apr 12, 2023
1 parent 4479d0b commit 87c7553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/management-ui/config/templates/default.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server {
charset utf-8;

location / {
try_files $uri$args $uri$args/ $uri $uri/ /index.html =404;
try_files $uri $uri/ /index.html =404;
root /usr/share/nginx/html;
sub_filter '<base href="/"' '<base href="{{ getenv "MGMT_BASE_HREF" "/" }}"';
sub_filter_once on;
Expand Down
2 changes: 1 addition & 1 deletion docker/management-ui/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ http {
index index.html;

location / {
try_files $uri$args $uri$args/ $uri $uri/ /index.html =404;
try_files $uri $uri/ /index.html =404;
}
}
}

0 comments on commit 87c7553

Please sign in to comment.