annotate web/templog-uwsgi.ini @ 586:87c20b8c5472 default master

port to python3
author Matt Johnston <matt@ucc.asn.au>
date Mon, 09 Sep 2019 22:24:10 +0800
parents d0c29436bb63
children
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
257
d0c29436bb63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 252
diff changeset
14 user = matt
d0c29436bb63 a few more parameters
Matt Johnston <matt@ucc.asn.au>
parents: 252
diff changeset
15 group = matt
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 chdir = /home/matt/templog/web