minight / instant-nginx

instant nginx/letsencrypt/flask app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

instant-nginx 0.2.0

here's a few tools i made to deploy flask apps really fast

nginx.py

Lets you instantly create an nginx config for a website. Even if you have nothing installed on the server

USES PYTHON3

Usage

sudo python3 nginx.py <domain> <ssl>
  <domain> (optional) - if none, defaults to catchall
  <ssl> (optional) - true|false - letsencrypt ssl

The script uses certbot-auto from the letsencrypt repo

flask.py

I got sick of figuring out how to use uwsgi with flask. So i made a script to make it faster.

run nginx.py first since you needa a prepared nginx config and a running nginx server

just follow the included template app

Acknolwedgements

letsencrypt - Lets encrypt is awesome

About

instant nginx/letsencrypt/flask app


Languages

Language:Shell 78.0%Language:Python 22.0%