annotate web/templog-uwsgi.ini @ 291:f7261dd970da

- replace ssl client certs with cookies - remove unused ssh code - add /set?fake=1 test mode
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Jul 2019 16:32:16 +0800
parents d0c29436bb63
children 87c20b8c5472
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
257
d0c29436bb63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 252
diff changeset
16
d0c29436bb63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 252
diff changeset
17 user = matt
d0c29436bb63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 252
diff changeset
18 group = matt
d0c29436bb63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 252
diff changeset
19
d0c29436bb63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 252
diff changeset
20 chdir = /home/matt/templog/web