-
-
Save gregorynicholas/4466099 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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