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;