Skip to content

[DEVOPS] Write Nginx configuration for production deployment #397

@dev-fatima-24

Description

@dev-fatima-24

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

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions