mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-21 09:51:49 +00:00
Fixes #844 Allow to globally enable/disable HTTP/2
This commit is contained in:
parent
1bb408f16b
commit
81d2f7d02b
@ -220,7 +220,7 @@ services:
|
||||
# Web Server
|
||||
# ------------------------------------------------------------
|
||||
httpd:
|
||||
image: devilbox/${HTTPD_SERVER}:0.40
|
||||
image: devilbox/${HTTPD_SERVER}:0.43
|
||||
hostname: httpd
|
||||
|
||||
environment:
|
||||
@ -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?
|
||||
##
|
||||
|
12
env-example
12
env-example
@ -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
|
||||
###
|
||||
|
Loading…
x
Reference in New Issue
Block a user