Skip to content
Snippets Groups Projects
uwsgi.ini 324 B
Newer Older
  • Learn to ignore specific revisions
  • nd's avatar
    nd committed
    [uwsgi]
    plugin = python3
    manage-script-name = true
    
    workers = %k*2
    
    nd's avatar
    nd committed
    
    uid = uffd
    gid = uffd
    
    vacuum = true
    
    
    env = PYTHONIOENCODING=UTF-8
    env = LANG=en_GB.utf8
    env = TZ=Europe/Berlin
    env = CONFIG_FILENAME=/etc/uffd/uffd.cfg
    chdir = /usr/share/uffd
    module = uffd:create_app()
    
    
    nd's avatar
    nd committed
    hook-pre-app = exec:FLASK_APP=uffd flask db upgrade