Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.11.0 #871

Merged
merged 19 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes #844 Allow to globally enable/disable HTTP/2
  • Loading branch information
cytopia committed Mar 18, 2022
commit 81d2f7d02be1088b3e45ce9518acf46f70049075
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ services:
# Web Server
# ------------------------------------------------------------
httpd:
image: devilbox/${HTTPD_SERVER}:0.40
image: devilbox/${HTTPD_SERVER}:0.43
hostname: httpd

environment:
Expand Down Expand Up @@ -249,6 +249,11 @@ services:
- WORKER_PROCESSES=${HTTPD_NGINX_WORKER_PROCESSES:-auto}
- WORKER_CONNECTIONS=${HTTPD_NGINX_WORKER_CONNECTIONS:-1024}

##
## Globally enable/disable HTTP/2
##
- HTTP2_ENABLE=${HTTPD_HTTP2_ENABLE:-1}

##
## Disable default vhost?
##
Expand Down
12 changes: 12 additions & 0 deletions env-example
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,18 @@ HOST_PORT_HTTPD=80
HOST_PORT_HTTPD_SSL=443


###
### Globally enable/disable HTTP/2 support
###
### This cannot be done on a per vhost level and must be enabled/disabled globally.
###
### Values:
### * 0: HTTP/2 is disabled
### * 1: HTTP/2 is enabled
###
HTTPD_HTTP2_ENABLE=1


###
### SSL (HTTP/HTTPS) settings for automated vhost generation
###
Expand Down