Commit d61a4ebc authored by Dashamir Hoxha's avatar Dashamir Hoxha

Use SSL_CERT_EMAIL in settings.sh to get a letsencrypt cert automatically

parent dc64d7cf
......@@ -42,22 +42,6 @@ For more detailed information see: http://info.btranslator.org
- Customize the local command 'remake': `vim cmd/remake.sh`
## Access the website
- Tell `wsproxy` to manage the domain of this container: `ds wsproxy add`
- Tell `wsproxy` to get a free letsencrypt.org SSL certificate for this domain:
```
ds wsproxy ssl-cert --test
ds wsproxy ssl-cert
```
- If installation is not on a public server, add to `/etc/hosts` the
line `127.0.0.1 bcl.example.org` and then try in browser:
https://bcl.example.org
## Backup and restore
ds backup data
......
......@@ -33,8 +33,5 @@ cmd_config() {
# drush may create some files with wrong permissions, fix them
ds inject fix-file-permissions.sh
# get a letsencrypt SSL certificate
ds wsproxy ssl-cert
ds restart
}
......@@ -5,6 +5,9 @@ DOMAIN="bcl.example.org"
IMAGE=$DOMAIN
CONTAINER=$DOMAIN
### Email needed for getting a letsencrypt ssl cert.
SSL_CERT_EMAIL=[email protected]
### Uncomment if this installation is for development.
DEV=true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment