Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

uwsgi.ini 758B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [uwsgi]
  2. processes = 2
  3. threads = 10
  4. http = :8080
  5. http-enable-proxy-protocol = 1
  6. http-auto-chunked = true
  7. http-keepalive = 75
  8. http-timeout = 75
  9. log-x-forwarded-for = true
  10. # Handle docker stop
  11. die-on-term = 1
  12. vacuum = 1
  13. master = true
  14. enable-threads = true
  15. lazy = 1
  16. thunder-lock = 1
  17. buffer-size = 65535
  18. no-defer-accept = 1
  19. # Python
  20. python-path = /app/sandbox
  21. module = wsgi:application
  22. # Kill requests after 30 seconds
  23. harakiri = 30
  24. harakiri-verbose = true
  25. static-map = /media=./public/media/
  26. ; if the client supports gzip encoding goto to the gzipper
  27. route-if = contains:${HTTP_ACCEPT_ENCODING};gzip goto:_gzip
  28. route-run = last:
  29. ; pass the response to the gzip transformation
  30. route-label = _gzip
  31. route-run = gzip:
  32. route-run = chunked:
  33. route-run = last: