annotate web/templog-uwsgi.ini @ 552:a335760ad447

uwsgi bits
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Jun 2015 15:34:03 +0800
parents
children d0c29436bb63
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