Last active
April 4, 2020 14:26
-
-
Save valakhosravi/323475665e5cdc9fcf48096efd7a6694 to your computer and use it in GitHub Desktop.
Updating django app on nginx
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
sudo systemctl restart gunicorn | |
sudo systemctl daemon-reload | |
sudo systemctl restart gunicorn.socket gunicorn.service | |
sudo nginx -t && sudo systemctl restart nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment