Dockerization app
Deploy NPM app / Deploy NPM (push) Has been cancelled

This commit is contained in:
Antoni Nuñez Romeu
2026-07-22 13:09:29 +02:00
parent f31c2a2995
commit 8d0373facf
4 changed files with 47 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(?:ico|css|js|gif|jpe?g|png|svg|woff2?|eot|ttf|otf|webp|avif|mp4|webm)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}