Assuming you have followed the Installation section and created a virtualenv named pyckenv,
we’ll now setup Nginx to use this virtualenv alongwith uwsgi for deploying our pyck applications.
Nginx is quite lightweight compared to apache and uwsgi offer far greater performance compared to mod_wsgi.
This document describes the most basic setup. A more high performance setup suitable for high-load sites might
include supervisord and also we may need https support. Both of this are covered in a separate document.

Make sure you have installed nginx and uwsgi. uwsgi can be installed even within your virtualenv:

Add a section or server for your site in nginx config. A good way to do this is to create a separate file in
nginx’s sites-available folder (normally /etc/nginx/sites-available), for example you can create a file names myapp there: