Created
August 2, 2018 21:40
-
-
Save ProfessorKazarinoff/633abea34c5ea2420f1278deae61c091 to your computer and use it in GitHub Desktop.
nginx configuration for a Internet of Things server built with flask and Python. See: http://pythonforundergradengineers.com/flask-app-on-digital-ocean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name your_domain wwww.your_domain; | |
location / { | |
include uwsgi_params; | |
uwsgi_pass unix:/home/peter/flaskapp/flaskapp.sock; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment