fixing Web-App Dockerfile

This commit is contained in:
2025-09-27 22:23:54 +02:00
parent 80eca624a4
commit c787994bc0
10 changed files with 820 additions and 16 deletions
+7 -5
View File
@@ -16,11 +16,6 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
# WASM MIME-Type für zukünftige Builds
location ~ \.wasm$ {
add_header Content-Type application/wasm;
}
# Logging
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
@@ -68,6 +63,13 @@ http {
expires 1y;
add_header Cache-Control "public, immutable";
}
# WASM Files mit korrektem MIME-Type
location ~* \.wasm$ {
add_header Content-Type application/wasm;
expires 1y;
add_header Cache-Control "public, immutable";
}
}
# Proxy API calls zu Gateway