ADD: Set up Docker environment with Dockerfile and nginx configuration

This commit is contained in:
2026-04-28 12:11:45 +02:00
parent 599fb59f24
commit 9779fa8c55
3 changed files with 46 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
server {
listen 8000;
server_name _;
root /usr/share/nginx/html;
index index.html;
server_tokens off;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(?:css|js|mjs|json|ico|png|jpg|jpeg|gif|svg|webp|woff|woff2|ttf|eot)$ {
expires 1y;
add_header Cache-Control "public, immutable";
try_files $uri =404;
}
}