Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
nginx configuration for a Internet of Things server built with flask and Python. See: http://pythonforundergradengineers.com/flask-app-on-digital-ocean
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
You can’t perform that action at this time.