Deploy Roncarve official website with Docker

This commit is contained in:
2026-08-14 12:41:45 +08:00
parent 553036b3ac
commit af296d674f
11 changed files with 176 additions and 44 deletions
+17
View File
@@ -0,0 +1,17 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(?:css|js|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ {
expires 7d;
add_header Cache-Control "public, max-age=604800, immutable";
try_files $uri =404;
}
}