chore: Remove SSL cert handling - use external reverse proxy
- Nginx now listens on HTTP only (port 80) - Remove SSL cert volume mounts from docker-compose - Remove SSL troubleshooting sections - Update docs to indicate SSL handled by Caddy/reverse proxy - Simplify nginx.conf to remove HTTPS server block
This commit is contained in:
@@ -104,20 +104,15 @@ npm run dev:frontend # Next.js on port 3000
|
||||
### 8. Production Deployment
|
||||
|
||||
```bash
|
||||
# Setup SSL certificates (self-signed for local dev, or use real certs)
|
||||
mkdir -p docker/nginx/ssl
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
|
||||
-keyout docker/nginx/ssl/key.pem \
|
||||
-out docker/nginx/ssl/cert.pem \
|
||||
-subj "/CN=coop.hobokenchicken.com"
|
||||
|
||||
# Create public directory (required for build)
|
||||
mkdir -p frontend/public
|
||||
|
||||
# Deploy
|
||||
# Deploy (Caddy handles SSL termination)
|
||||
docker-compose up -d --build
|
||||
```
|
||||
|
||||
**Note:** This setup runs HTTP only on port 80. Place behind Caddy or another reverse proxy for SSL termination.
|
||||
|
||||
## Architecture Overview
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user