Skip to content

minight/instant-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published