mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
18 lines
500 B
Markdown
18 lines
500 B
Markdown
First install the NGINX block in this directory.
|
|
|
|
To use letsencrypt follow these steps:
|
|
|
|
```
|
|
git clone https://github.com/letsencrypt/letsencrypt
|
|
cd letsencrypt
|
|
sudo service nginx stop
|
|
sudo ./letsencrypt-auto certonly --standalone --email youremail@somewhere.com -d yourserver.com
|
|
sudo service nginx start
|
|
```
|
|
|
|
Then startup `awwkoala` with
|
|
|
|
```bash
|
|
sudo ./awwkoala -p :8001 -key /etc/letsencrypt/live/yourserver.com/privkey.pem -crt /etc/letsencrypt/live/yourserver.com/cert.pem yourserver.com
|
|
```
|