server { listen 443 ssl; server_name issue.tlyq.ai; ssl_certificate /etc/letsencrypt/live/oa.tlyq.ai/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/oa.tlyq.ai/privkey.pem; location /_next/static/ { proxy_pass http://issue-ai:3000; proxy_set_header Host $host; expires 1y; add_header Cache-Control "public, immutable"; } location / { proxy_pass http://issue-ai:3000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; add_header Cache-Control "no-cache, no-store, must-revalidate"; } }