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:
@@ -123,25 +123,6 @@ solana balance
|
||||
solana airdrop 2
|
||||
```
|
||||
|
||||
### SSL Certificate Errors
|
||||
|
||||
**Error:** Browser shows certificate warnings
|
||||
|
||||
**Solution:**
|
||||
```bash
|
||||
# Check certificate
|
||||
openssl s_client -connect coop.hobokenchicken.com:443
|
||||
|
||||
# Renew Let's Encrypt
|
||||
docker-compose -f docker-compose.prod.yml run --rm certbot renew
|
||||
|
||||
# Or use self-signed for testing:
|
||||
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'
|
||||
```
|
||||
|
||||
### CORS Errors in Browser
|
||||
|
||||
**Error:** `Access-Control-Allow-Origin` errors
|
||||
@@ -219,19 +200,6 @@ cd frontend
|
||||
npm install next-themes
|
||||
```
|
||||
|
||||
### Nginx: SSL Certificate Error
|
||||
|
||||
**Error:** `cannot load certificate "/etc/nginx/ssl/cert.pem"`
|
||||
|
||||
**Solution:**
|
||||
```bash
|
||||
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"
|
||||
```
|
||||
|
||||
### Docker Compose: Public Directory Not Found
|
||||
|
||||
**Error:** `failed to calculate checksum: "/app/frontend/public": not found`
|
||||
|
||||
Reference in New Issue
Block a user