This commit is contained in:
Florian THIERRY
2024-09-22 12:53:55 +02:00
parent 7e0174bcc2
commit f789d89995

View File

@@ -36,6 +36,12 @@ http {
# Everything under the Angular app is always redirected to Angular in the correct language # Everything under the Angular app is always redirected to Angular in the correct language
location ~ ^/(fr|en)/ { location ~ ^/(fr|en)/ {
types {
module js;
}
include /etc/nginx/mime.types;
try_files $uri /$1/index.html?$args; try_files $uri /$1/index.html?$args;
proxy_set_header Host $host:$server_port; proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Forwarded-Host $server_name;