Add example config for using using nginx with uwsgi

This commit is contained in:
Prof. Jayanth R Varma
2018-11-07 02:18:46 +05:30
committed by Tom Hacohen
parent 8f50a69b39
commit 3f6dd74e33
4 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# systemd unit for running uwsgi in emperor mode
# typical location of this file would be /etc/systemd/system/uwsgi.service
[Unit]
Description=uWSGI Emperor service
[Service]
ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites
Restart=always
KillSignal=SIGQUIT
Type=notify
NotifyAccess=all
[Install]
WantedBy=multi-user.target