mirror of
https://github.com/yurymuski/nginx-http3.git
synced 2026-09-26 22:16:10 +00:00
README update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user