Skip to content

Instantly share code, notes, and snippets.

@gregorynicholas
Forked from anonymous/place.sh
Created January 6, 2013 08:33
Show Gist options
  • Save gregorynicholas/4466099 to your computer and use it in GitHub Desktop.
Save gregorynicholas/4466099 to your computer and use it in GitHub Desktop.
# copy nginx config into available slot
cp idrinkink.org.nginx.conf /etc/nginx/sites-available
# link it into the enable slot
ln -s /etc/nginx/sites-available/idrinkink.org.nginx.conf /etc/nginx/sites-enabled/idrinkink.org.nginx.conf
# start uwsgi
chmod 755
${WORKON_HOME}/${VIRTUAL_ENV}/bin/python ./uwsgi.sh
# restart the nginx service
sudo service nginx restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment