Skip to content

istroev/flask_https_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_https_example

installation

# apt install python2.7 python-pip gunicorn nginx
$ openssl req -x509 -newkey rsa:4096 -nodes -out cert.pem -keyout key.pem -days 365
$ pip install flask
# cp hello.nginx /etc/nginx/sites-available/hello
# ln -s /etc/nginx/sites-available/hello /etc/nginx/sites-enabled
# cp hello.service /etc/systemd/system/hello.service
# systemctl restart hello
# systemctl restart nginx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages