mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
59955afa78
Former-commit-id: b5ac59cb19d2bc8c7a86560aca55250af5f0c13f [formerly 327bf636df25e46bda09fed20352a548d6922e3e] [formerly 207656a9b061ecd5f5def1dd0ef57e7e17d93524 [formerly 41f107c876b02912e1f8a454862f200193c9ab76 [formerly8d4d68c840
]]] Former-commit-id: e1b78b6df1d5ce2d6d2de334bf2cda9060057558 [formerly a109361bc20bba2b4917e7b174fca02e68642169] Former-commit-id: 8268b6f2e664d64a308bfcc0593756a96761afc6 Former-commit-id:7e3dd5a83d
18 lines
577 B
Markdown
18 lines
577 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 `cowyo` with
|
|
|
|
```bash
|
|
sudo ./cowyo -p :8001 -key /etc/letsencrypt/live/yourserver.com/privkey.pem -crt /etc/letsencrypt/live/yourserver.com/cert.pem yourserver.com
|
|
```
|