Skip to content

Commit

Permalink
config files for staging server
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed Mar 8, 2016
1 parent 4f2bccf commit 3cdb4e1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tools/nginx-staging.conf
@@ -0,0 +1,18 @@
server {
listen 46.253.205.171:80;
listen 192.168.1.10:80;
server_name ferenda.lagen.nu;

root /www/staffan/ferenda.lagen.nu/data;
index index.html index.htm;


location /rsrc {
alias /www/staffan/ferenda.lagen.nu/data/rsrc;
}
location / {
uwsgi_pass unix:///tmp/ferenda.sock;
include /etc/nginx/uwsgi_params;
}
include server-defaults.conf;
}
8 changes: 8 additions & 0 deletions tools/uwsgi-staging.ini
@@ -0,0 +1,8 @@
[uwsgi]
socket = /tmp/ferenda.sock
chmod-socket = 666
chdir = /www/staffan/ferenda.lagen.nu
module = wsgi:application
virtualenv = /home/staffan/.virtualenvs/lagen.nu
processes = 4
master = 1

0 comments on commit 3cdb4e1

Please sign in to comment.