Add sample config files
parent
08a0acd287
commit
aa1183b022
@ -0,0 +1,7 @@
|
||||
server {
|
||||
# TODO FOR ADMIN: Config listens and SSL and server_name and whatnot
|
||||
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass unix:/var/wish/sock;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=LEdoian's Wish web app
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
WorkingDirectory=/home/wish/install
|
||||
ExecStart=/usr/bin/uwsgi --ini /home/wish/install/conf/uwsgi.ini
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
@ -0,0 +1,14 @@
|
||||
[uwsgi]
|
||||
socket = /var/wish/sock
|
||||
logto = /home/wish/log
|
||||
chdir = /home/wish/install
|
||||
|
||||
module = wish.wsgi
|
||||
plugin = python3
|
||||
virtualenv = venv
|
||||
master = True
|
||||
vacuum = True
|
||||
chmod-socket = 666
|
||||
max-requests = 500
|
||||
die-on-term=true
|
||||
|
Loading…
Reference in New Issue