Priority: high
Description
There is no Nginx configuration for the production server. Nginx must be configured as a reverse proxy for the NestJS backend and Next.js frontend, with SSL termination, gzip compression, and security headers. This is required for the testnet and mainnet deployments.
Acceptance Criteria
- Nginx proxies /api/* to the NestJS backend on port 3001
- Nginx serves the Next.js frontend on port 3000
- SSL termination configured with Let's Encrypt certificates
- Security headers set: X-Frame-Options, X-Content-Type-Options, HSTS
- Gzip compression enabled for JSON and JavaScript responses
Priority: high
Description
There is no Nginx configuration for the production server. Nginx must be configured as a reverse proxy for the NestJS backend and Next.js frontend, with SSL termination, gzip compression, and security headers. This is required for the testnet and mainnet deployments.
Acceptance Criteria