Commit 5629c26a by Heechul Kim

Added nginx and uwsgi config sample files.

parent e5ba1bc5
Showing with 26 additions and 0 deletions
server {
listen 80;
server_name _;
root /home/jijisa/porch/web;
location /api { try_files $uri @porch; }
location @porch {
include uwsgi_params;
uwsgi_pass unix:/home/jijisa/porch/porch.sock;
}
}
[uwsgi]
workers = 2
uid = jijisa
master = true
socket = /home/%(uid)/porch/porch.sock
chmod-socket = 666
manage-script-name = true
mount = /=wsgi:app
daemonize = /home/%{uid)/porch/porch.log
master = true
procname = porch
pidfile = /home/%{uid)/porch/porch.pid
vacuum = true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment