mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
10e8acd916
Former-commit-id: 0fdc8690b9a00ddc35d15dbf1de6a77ca609079b [formerly 95f2e44070b27cf61dc505ffa9484e26739de519] [formerly f8702275a09665a81149ce1e9b047b377723dcdc [formerly 13e892bdf2689a6ee2e47cd41588ae12850399ed [formerly9b69e155d8
]]] Former-commit-id: 597855b2b9230a12d500fe5d74a3b0c487405950 [formerly 7f72d8ac8098aad6be3bd585bc7dc9a96de9f19a] Former-commit-id: ab610c0cf42bdbae0bf0c00a28007f7235054625 Former-commit-id:442eb7bb87
18 lines
583 B
Markdown
18 lines
583 B
Markdown
First install the NGINX block in this directory. (There is an experimental Makefile that will do this, just try `sudo make install`.
|
|
|
|
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
|
|
```
|