README update

master
yurymuski 5 years ago
parent dbf222db99
commit 3a190cbf40
  1. 2
      .gitignore
  2. 13
      README.md

2
.gitignore vendored

@ -0,0 +1,2 @@
temp/*
nginx.conf

@ -7,8 +7,21 @@ Link for [quiche + nginx manual](https://github.com/cloudflare/quiche/tree/maste
### usage ### usage
- get certs from certbot in /etc/letsencrypt/ - get certs from certbot in /etc/letsencrypt/
```
docker run -it --rm --name certbot \
-v "${PWD}/temp/letsencrypt:/etc/letsencrypt" \
certbot/certbot certonly --manual --preferred-challenges=dns\
--agree-tos \
--email your@email \
--no-eff-email \
-d your_domain
```
- create nginx.conf like in example - create nginx.conf like in example
`docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp -v ${PWD}/temp/letsencrypt/:/opt/nginx/certs/ -v ${PWD}/nginx.conf:/etc/nginx/nginx.conf ymuski/nginx-quic`
`docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp -v /etc/letsencrypt/:/opt/nginx/certs/ -v /opt/nginx/conf/example.nginx.conf:/etc/nginx/nginx.conf ymuski/nginx-quic` `docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp -v /etc/letsencrypt/:/opt/nginx/certs/ -v /opt/nginx/conf/example.nginx.conf:/etc/nginx/nginx.conf ymuski/nginx-quic`
### Checking ### Checking

Loading…
Cancel
Save