- Multi-stage build: node:22-alpine builds, nginx:stable-alpine serves - RFC1918 set_real_ip_from for 10/8, 172.16/12, 192.168/16 - X-Forwarded-For real_ip_header with recursive resolution - Access log to stdout, error log to stderr (Docker best practice) - Immutable cache headers for hashed static assets - SPA fallback via try_files
6 lines
39 B
Plaintext
6 lines
39 B
Plaintext
node_modules
|
|
dist
|
|
.git
|
|
.DS_Store
|
|
*.log
|