Skip to content
Snippets Groups Projects
Select Git revision
  • e913aeae3703bbc117288cf005175cbf2cf75b0b
  • devel default
  • master
  • fo
  • jirka/typing
  • fo-base
  • mj/submit-images
  • jk/issue-96
  • jk/issue-196
  • honza/add-contestant
  • honza/mr7
  • honza/mrf
  • honza/mrd
  • honza/mra
  • honza/mr6
  • honza/submit-images
  • honza/kolo-vs-soutez
  • jh-stress-test-wip
  • shorten-schools
19 results

uwsgi.ini.example

Blame
  • uwsgi.ini.example 450 B
    [uwsgi]
    chdir = /akce/mo/osmo-test/
    socket = var/osmo.sock
    chmod-socket = 666
    master-fifo = var/uwsgi.fifo
    
    logto = log/osmo.log
    log-maxsize = 1000000
    
    master = True
    processes = 2
    vacuum = True
    die-on-term = true
    max-requests = 5000
    
    # CAVEAT: mount porovnává cestu včetně location v Nginxu, zatímco static-map nikoliv!
    mount = /osmo-test=mo.web:app
    plugin = python3
    virtualenv = venv
    manage-script-name = true
    mule
    
    static-map = /static=static