]> git.gir.st - subscriptionfeed.git/blob - config/gunicorn-frontend-config.py
bypass android rate limiting/ipban
[subscriptionfeed.git] / config / gunicorn-frontend-config.py
1 # by default, we listen on port 8080, without HTTPS!
2 bind = ['0.0.0.0:8080']
3 # either use this software behind a reverse proxy, or
4 # configure TLS and use subscriptions-port80.service:
5 #bind = ['0.0.0.0:443']
6 #certfile = "/etc/letsencrypt/live/subscriptions.gir.st/fullchain.pem"
7 #keyfile = "/etc/letsencrypt/live/subscriptions.gir.st/privkey.pem"
8
9 accesslog = None
10 errorlog = "/tmp/frontend21.err"
11
12 # Note: We are using the in-memory requests-cache, do not use more than 1
13 # process, or the cache will be useless!
14 workers = 1
15
16 worker_class = "gthread"
17 threads = 40
Imprint / Impressum