summaryrefslogtreecommitdiff
path: root/moin/uwsgi/apps-available/local-moin.ini
blob: d6c132f068838392439dd915644d453895338bf5 (plain)
  1. [uwsgi]
  2. single-interpreter True
  3. plugins = python
  4. master = True
  5. workers = 1
  6. threads = 10
  7. vacuum = True
  8. max-requests = 1000
  9. uid = www-moin
  10. umask = 007
  11. wsgi-file = /usr/local/etc/moin/moin.wsgi
  12. static-map = /moin_static194/=/usr/share/moin/htdocs/
  13. static-map = /moin_static194/applets/FCKeditor/=/usr/share/fckeditor/
  14. static-map = /favicon.ico=/usr/share/moin/htdocs/favicon.ico
  15. static-map = /robots.txt=/usr/share/moin/htdocs/robots.txt
  16. #memory-report = True
  17. # set workers/threads, enable memory-report for a little while, consult
  18. # logfile for sensible threshold for reload-on-rss, and only then enable
  19. #reload-on-rss = 40
  20. # merge identical memory pages after every 10th request
  21. # more info at <http://uwsgi-docs.readthedocs.org/en/latest/KSM.html>
  22. ksm = 10
  23. # trick found at http://wiki.nginx.org/MoinMoin
  24. include uwsgi_params
  25. uwsgi_param SCRIPT_NAME /;
  26. uwsgi_modifier1 30;
  27. ignore-script-name = true