Added Dockerization

This commit is contained in:
MarcWieland
2026-07-27 00:02:22 +02:00
parent 8b613ec0bc
commit ed9bc84874
4 changed files with 68 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
# Cache static assets
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
root /usr/share/nginx/html;
expires 30d;
add_header Cache-Control "public, no-transform";
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}