diff --git a/ui/container-files/etc/nginx/conf.d/default.conf b/ui/container-files/etc/nginx/conf.d/default.conf index c8ba0f51a..c5c66c3ed 100644 --- a/ui/container-files/etc/nginx/conf.d/default.conf +++ b/ui/container-files/etc/nginx/conf.d/default.conf @@ -38,10 +38,7 @@ server { rewrite ^/user(.*)$ /en/users$1; rewrite ^/assertion(.*)$ /en/affiliations$1; - # Temporary Rule, when the UI app is served from the root instead of `/ui` then this rewrite rule can be removed. - rewrite ^/ui/(.*)$ /$1 last; - - # 1.) /$ -> /en/index.html + # 1.) if no langCode in path eg '/' then default to /en/index.html try_files /ui/en/index.html /ui/en/index.html; # 2.) /$ -> //index.html