Best Flask open-source libraries and packages

Quic nginx flask small sample

A small sample of quic app server with flask
Updated 2 years ago

quic-nginx-flask-small-sample

Getting Start

  1. Get cert file with 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_NAME
  1. Replace nginx placeholder
$ sed -i -e "s/YOUR_DOMAIN_NAME/YOUR_DOMAIN_NAME/g" nginx.conf
  1. Run
docker-compose up

Author

chigichan24

LICENSE

MIT

Tags nginx python