mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
f82b1d4369
Former-commit-id: 29eee59130b02f9bb9033138ee052ba720fcda1e [formerly 3d90801f2a731afebef1cdb915ab118096ce8469] [formerly b28d4c4de6b0de9f947a45a1430a79fbb31ae037 [formerly 7034b6899b9437147b03dee0621f3b51257dc87d [formerly |
||
---|---|---|
.. | ||
cowyo.init | ||
cowyo.ssl.nginx | ||
Makefile | ||
README.md |
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
sudo ./cowyo -p :8001 -key /etc/letsencrypt/live/yourserver.com/privkey.pem -crt /etc/letsencrypt/live/yourserver.com/cert.pem yourserver.com