mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 10:11:30 +08:00
- Bump version to 25.0.2 - Update copyright year to 2026 in LICENSE and NOTICE - Add license headers to all Python source files - Add changelog entry for 25.0.2
25 lines
535 B
Python
25 lines
535 B
Python
#
|
|
# This file is part of gunicorn released under the MIT license.
|
|
# See the NOTICE for more information.
|
|
|
|
# Gunicorn configuration for HTTP/2 features example
|
|
|
|
bind = "0.0.0.0:8443"
|
|
workers = 2
|
|
worker_class = "asgi"
|
|
|
|
# SSL configuration (required for HTTP/2)
|
|
certfile = "/app/certs/server.crt"
|
|
keyfile = "/app/certs/server.key"
|
|
|
|
# HTTP/2 configuration
|
|
http_protocols = "h2,h1"
|
|
http2_max_concurrent_streams = 100
|
|
http2_initial_window_size = 65535
|
|
http2_max_frame_size = 16384
|
|
|
|
# Logging
|
|
accesslog = "-"
|
|
errorlog = "-"
|
|
loglevel = "info"
|