Update Production HTTPS Setup

Linden Crandall 2025-02-07 21:51:32 +00:00
parent 869d5254a7
commit 0569a3b3e0

@ -6,7 +6,9 @@
ex):
```
ENABLE_IPV6=true
PORT=7757
MAIN_HTTP_PORT=7757
NGINX_HTTP_PORT=7758
NGINX_HTTPS_PORT=7759
HOST=automatisch.lasthourhosting.org
PROTOCOL=https
APP_ENV=production
@ -15,14 +17,8 @@ POSTGRES_HOST=postgres
POSTGRES_DATABASE=automatisch
POSTGRES_USERNAME=automatisch_user
POSTGRES_PASSWORD=automatisch_password
ENCRYPTION_KEY
WEBHOOK_SECRET_KEY
APP_SECRET_KEY
SSL_CERT_EMAIL=support@shilohcode.com
SSL_SELF_SIGNED_CRT=shiloh_automatisch.local.crt
SSL_SELF_SIGNED_KEY=shiloh_automatisch.local.key
IPV6_SUBNET=2001:db8:2::/64
```
- change .env file's owner and group to lasthour: `sudo chown lasthour:lasthour .env`
- In docker-compose.yml, uncomment production nginx and certbot services: