Skip to content

Instantly share code, notes, and snippets.

Peter Kazarinoff ProfessorKazarinoff

Block or report user

Report or block ProfessorKazarinoff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View flaskapp.service
[Unit]
Description=uWSGI instance to serve flaskapp
After=network.target
[Service]
User=peter
Group=www-data
WorkingDirectory=/home/peter/flaskapp
Environment="PATH=/home/peter/flaskapp/flaskappenv/bin"
ExecStart=/home/peter/flaskapp/flaskappenv/bin/uwsgi --ini flaskapp.ini
@ProfessorKazarinoff
ProfessorKazarinoff / sites-available
Created Aug 2, 2018
nginx configuration for a Internet of Things server built with flask and Python. See: http://pythonforundergradengineers.com/flask-app-on-digital-ocean
View sites-available
server {
listen 80;
server_name your_domain wwww.your_domain;
location / {
include uwsgi_params;
uwsgi_pass unix:/home/peter/flaskapp/flaskapp.sock;
}
}
You can’t perform that action at this time.