From f789d89995396eca716d77e557948b20c98366bb Mon Sep 17 00:00:00 2001 From: Florian THIERRY Date: Sun, 22 Sep 2024 12:53:55 +0200 Subject: [PATCH] test --- frontend/conf/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/conf/nginx.conf b/frontend/conf/nginx.conf index 7ebd77f..94da302 100644 --- a/frontend/conf/nginx.conf +++ b/frontend/conf/nginx.conf @@ -36,6 +36,12 @@ http { # Everything under the Angular app is always redirected to Angular in the correct language location ~ ^/(fr|en)/ { + types { + module js; + } + + include /etc/nginx/mime.types; + try_files $uri /$1/index.html?$args; proxy_set_header Host $host:$server_port; proxy_set_header X-Forwarded-Host $server_name;