Skip to content

Commit

Permalink
chore: Enable HTTP/2 protocol for packit-service (#2450)
Browse files Browse the repository at this point in the history
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.
RELEASE NOTES BEGIN
Enable HTTP/2 for Packit service
RELEASE NOTES END

Reviewed-by: Laura Barcziová
  • Loading branch information
softwarefactory-project-zuul[bot] authored Jun 28, 2024
2 parents aad797a + 1f65a58 commit 7fb8d36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions files/install-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- git # setuptools-scm
# httpd & deps
- python3-mod_wsgi
- mod_http2
- mod_ssl
- python3-alembic
- python3-sqlalchemy
Expand Down
1 change: 1 addition & 0 deletions files/run_httpd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 7fb8d36

Please sign in to comment.