Skip to content

Commit 9487e89

Browse files
author
Rob Speer
committed
add Web configuration
1 parent 9f61274 commit 9487e89

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

web/nginx-ireproof.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
server {
2+
listen 80;
3+
server_name ireproof.org tools.ireproof.org www.ireproof.org;
4+
5+
location / {
6+
include uwsgi_params;
7+
uwsgi_pass unix:/home/rspeer/solvertools/web/ireproof.sock;
8+
}
9+
}

web/uwsgi.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[uwsgi]
2+
wsgi-file = /home/rspeer/solvertools/web/__init__.py
3+
4+
master = true
5+
processes = 5
6+
7+
socket = web/ireproof.sock
8+
chmod-socket = 660
9+
vacuum = true
10+
11+
die-on-term = true

0 commit comments

Comments
 (0)