CI Test
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m10s

This commit is contained in:
Murat Özkorkmaz
2025-10-17 22:33:30 +02:00
parent a6ad5e0135
commit 4c4589de6d
9 changed files with 537 additions and 187 deletions

View File

@@ -48,9 +48,19 @@ http {
root /usr/share/nginx/html;
index index.html;
# Angular Routing
# Redirect root to default locale (de) - using relative redirect
location = / {
return 301 $scheme://$http_host/de/;
}
# Serve each locale
location ~ ^/(de|de-DE|en)/ {
try_files $uri $uri/ /$1/index.html;
}
# Fallback for any other routes to default locale
location / {
try_files $uri $uri/ /index.html;
return 301 $scheme://$http_host/de$request_uri;
}
# Static Assets Caching