From fa05ccee683034d31b5dfe096c2fe2dc43c9e917 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 3 Feb 2026 00:59:10 +0000 Subject: [PATCH] chore: add nginx.conf for Docker static export Required for serving Next.js static export via nginx in Docker. Co-Authored-By: Claude Opus 4.5 --- nginx.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..df4c15e --- /dev/null +++ b/nginx.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name _; + root /usr/share/nginx/html; + index index.html index.htm; + + location / { + try_files $uri $uri/ $uri.html =404; + } + + error_page 404 /404.html; + + gzip on; + gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript; +}