gunicorn/examples/http2_features/gunicorn_conf.py
Benoit Chesneau 95b7ffeeaa chore: prepare release 25.0.2
- 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
2026-02-06 08:21:18 +01:00

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"