Skip to content

Instantly share code, notes, and snippets.

@ProfessorKazarinoff
Created August 2, 2018 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ProfessorKazarinoff/633abea34c5ea2420f1278deae61c091 to your computer and use it in GitHub Desktop.
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
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