Skip to content

Commit

Permalink
installer: nginx: add missing locales location required by ui_next (#…
Browse files Browse the repository at this point in the history
…1822)

The new UI depends on the locales available via ingress/locales which
is being served as static file and not via Django.

A change in the nginx.conf was already done for the dev environment
in commit ec4f10d86881389af12371f90cb75af03417d109 (AWX), but not
here.

Signed-off-by: Tom Siewert <tom.siewert@hetzner.com>
  • Loading branch information
sinuscosinustan authored May 1, 2024
1 parent 6baf3a1 commit 6fff7cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/installer/templates/configmaps/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ data:
alias /var/lib/awx/public/static/;
}

location {{ (ingress_path + '/locales').replace('//', '/') }} {
alias /var/lib/awx/public/static/awx/locales;
}

location {{ (ingress_path + '/favicon.ico').replace('//', '/') }} {
alias /var/lib/awx/public/static/media/favicon.ico;
}
Expand Down

0 comments on commit 6fff7cb

Please sign in to comment.