Prepare Coolify deployment

This commit is contained in:
Michal Vrba
2026-10-19 15:44:31 +02:00
parent 8f18927f89
commit 87a9ce46da
3 changed files with 58 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
server {
listen 8080;
listen [::]:8080;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location = /index.html {
add_header Cache-Control "no-cache";
}
location /_framework/ {
try_files $uri =404;
add_header Cache-Control "public, max-age=31536000, immutable";
}
location ~* \.(?:css|js|svg|png|jpg|jpeg|gif|ico|webp|woff2?|mp3|ogg|flac|m4a|wav|aac)$ {
try_files $uri =404;
expires 7d;
add_header Cache-Control "public";
}
}