annotate web/templog-uwsgi.ini @ 562:55cae4f27e75

catch timeout
author Matt Johnston <matt@ucc.asn.au>
date Wed, 10 Jun 2015 00:13:26 +0800
parents 9f659ece4e63
children 87c20b8c5472
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
552
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 [uwsgi]
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 # run with "/path/to/venv/bin/uwsgi --chdir /path/to/web /path/to/web/templog.uwsgi"
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 # tested with Apache mod_proxy_uwsgi and
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 # ProxyPass /~matt/t2 uwsgi://127.0.0.1:9090/
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
7 # future: apache > 2.4.9 could use "socket=uwsgi.sock" and then apache config of
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 # ProxyPass /templog unix:/path/to/web/uwsgi.sock|uwsgi://
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
9 socket=127.0.0.1:9090
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
11 wsgi-file=templog.uwsgi
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 gevent=100
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14 # for client certificates. default limit is 4096, not sufficient
a335760ad447 uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
15 buffer-size=20000
558
9f659ece4e63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 552
diff changeset
16
9f659ece4e63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 552
diff changeset
17 user = matt
9f659ece4e63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 552
diff changeset
18 group = matt
9f659ece4e63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 552
diff changeset
19
9f659ece4e63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 552
diff changeset
20 chdir = /home/matt/templog/web