jtwedt / Climate-Conversations

an app to facilitate conversations about climate events
4 stars 2 forks source link

Ansible playbook to setup webserver #23

Closed dlundquist closed 6 years ago

dlundquist commented 6 years ago

Ansible playbook (using Ansible 2.2) to setup uwsgi and Nginx webserver. Based loosely on https://www.digitalocean.com/community/tutorials/how-to-set-up-uwsgi-and-nginx-to-serve-python-apps-on-ubuntu-14-04. Uses systemd and uwsgi to serve dynamic Python content while leaving static content to Nginx.