From 1f65a581b955253fd31e8a531b4453e3503ec3bd Mon Sep 17 00:00:00 2001 From: Freya Gustavsson Date: Mon, 24 Jun 2024 23:43:42 +0200 Subject: [PATCH] chore: Enable HTTP/2 protocol for packit-service With this change we should now have mod_http2 installed and enabled. As I haven't figured out how to run packit-service for development purposes this is just a guess on what needs to be done. --- files/install-deps.yaml | 1 + files/run_httpd.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/files/install-deps.yaml b/files/install-deps.yaml index bccb857d9..bb1dd13c9 100644 --- a/files/install-deps.yaml +++ b/files/install-deps.yaml @@ -16,6 +16,7 @@ - git # setuptools-scm # httpd & deps - python3-mod_wsgi + - mod_http2 - mod_ssl - python3-alembic - python3-sqlalchemy diff --git a/files/run_httpd.sh b/files/run_httpd.sh index 4baf6b0ef..04a4a5f4e 100755 --- a/files/run_httpd.sh +++ b/files/run_httpd.sh @@ -29,6 +29,7 @@ HTTPS_PORT=$(sed -nr 's/^server_name: ([^:]+)(:([0-9]+))?$/\3/p' "$PACKIT_SERVIC exec mod_wsgi-express-3 start-server \ --access-log \ --log-to-terminal \ + --http2 \ --https-port "${HTTPS_PORT:-8443}" \ --ssl-certificate-file /secrets/fullchain.pem \ --ssl-certificate-key-file /secrets/privkey.pem \