Update Production HTTPS Setup
parent
869d5254a7
commit
0569a3b3e0
@ -6,7 +6,9 @@
|
|||||||
ex):
|
ex):
|
||||||
```
|
```
|
||||||
ENABLE_IPV6=true
|
ENABLE_IPV6=true
|
||||||
PORT=7757
|
MAIN_HTTP_PORT=7757
|
||||||
|
NGINX_HTTP_PORT=7758
|
||||||
|
NGINX_HTTPS_PORT=7759
|
||||||
HOST=automatisch.lasthourhosting.org
|
HOST=automatisch.lasthourhosting.org
|
||||||
PROTOCOL=https
|
PROTOCOL=https
|
||||||
APP_ENV=production
|
APP_ENV=production
|
||||||
@ -15,14 +17,8 @@ POSTGRES_HOST=postgres
|
|||||||
POSTGRES_DATABASE=automatisch
|
POSTGRES_DATABASE=automatisch
|
||||||
POSTGRES_USERNAME=automatisch_user
|
POSTGRES_USERNAME=automatisch_user
|
||||||
POSTGRES_PASSWORD=automatisch_password
|
POSTGRES_PASSWORD=automatisch_password
|
||||||
ENCRYPTION_KEY
|
|
||||||
WEBHOOK_SECRET_KEY
|
|
||||||
APP_SECRET_KEY
|
|
||||||
SSL_CERT_EMAIL=support@shilohcode.com
|
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
|
IPV6_SUBNET=2001:db8:2::/64
|
||||||
|
|
||||||
```
|
```
|
||||||
- change .env file's owner and group to lasthour: `sudo chown lasthour:lasthour .env`
|
- change .env file's owner and group to lasthour: `sudo chown lasthour:lasthour .env`
|
||||||
- In docker-compose.yml, uncomment production nginx and certbot services:
|
- In docker-compose.yml, uncomment production nginx and certbot services:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user