mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 14:58:17 +08:00
10.3.2-debian-10-r26 release
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check whether Apache ports must be configured
|
||||
if [[ -n "${APACHE_HTTP_PORT_NUMBER:-}" ]]; then
|
||||
export APACHE_SET_HTTP_PORT="yes"
|
||||
fi
|
||||
if [[ -n "${APACHE_HTTPS_PORT_NUMBER:-}" ]]; then
|
||||
export APACHE_SET_HTTPS_PORT="yes"
|
||||
if [[ -n "${APACHE_HTTP_PORT_NUMBER:-}" || -n "${APACHE_HTTPS_PORT_NUMBER:-}" ]]; then
|
||||
export APACHE_ENABLE_CUSTOM_PORTS="yes"
|
||||
fi
|
||||
|
||||
# Copy vhosts file
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"enableCustomPorts": "{{$global.env.APACHE_ENABLE_CUSTOM_PORTS}}",
|
||||
"httpPort": "{{$global.env.APACHE_HTTP_PORT_NUMBER}}",
|
||||
"httpsPort": "{{$global.env.APACHE_HTTPS_PORT_NUMBER}}",
|
||||
"setHttpPort": "{{$global.env.APACHE_SET_HTTP_PORT}}",
|
||||
"setHttpsPort": "{{$global.env.APACHE_SET_HTTPS_PORT}}"
|
||||
"httpsPort": "{{$global.env.APACHE_HTTPS_PORT_NUMBER}}"
|
||||
}
|
||||
Reference in New Issue
Block a user