jeisaimporters-WEBSITE/nginx.conf
Dave d635d3554e Add Dockerfile for Coolify deployment and fix image paths.
Serve the static site via nginx on port 80 and use local asset paths so images load outside Open Design.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 09:37:41 +02:00

20 lines
443 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ $uri.html =404;
}
location ~* \.(png|jpg|jpeg|gif|ico|svg|webp)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}
gzip on;
gzip_vary on;
gzip_min_length 256;
gzip_types text/plain text/css application/javascript text/html image/svg+xml;
}