annotate web/templog-uwsgi.ini @ 252:3e6f82347eab

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
252
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 [uwsgi]
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2
3e6f82347eab 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"
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 # tested with Apache mod_proxy_uwsgi and
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 # ProxyPass /~matt/t2 uwsgi://127.0.0.1:9090/
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6
3e6f82347eab 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
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 # ProxyPass /templog unix:/path/to/web/uwsgi.sock|uwsgi://
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
9 socket=127.0.0.1:9090
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
11 wsgi-file=templog.uwsgi
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 gevent=100
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14 # for client certificates. default limit is 4096, not sufficient
3e6f82347eab uwsgi bits
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
15 buffer-size=20000