mirror of
https://github.com/bitnami/containers.git
synced 2026-03-03 15:07:25 +08:00
[bitnami/moodle] Release 5.0.1-debian-12-r2 (#82700)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -10,7 +10,7 @@ ARG WITH_ALL_LOCALES="no"
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-06-26T06:29:42Z" \
|
||||
org.opencontainers.image.created="2025-06-27T06:32:04Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/moodle/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/moodle" \
|
||||
|
||||
@@ -426,9 +426,15 @@ if (isset(\$_SERVER['HTTPS']) \&\& \$_SERVER['HTTPS'] == 'on') {\\
|
||||
#########################
|
||||
moodle_configure_reverseproxy() {
|
||||
# Checking the reverseproxy setting values
|
||||
is_boolean_yes "$MOODLE_REVERSEPROXY" && sed -i "/^require/i \$CFG->reverseproxy = true;" "$MOODLE_CONF_FILE"
|
||||
if is_boolean_yes "$MOODLE_REVERSEPROXY"; then
|
||||
content="$(sed "/^require/i \$CFG->reverseproxy = true;" "$MOODLE_CONF_FILE")"
|
||||
echo "$content" > "$MOODLE_CONF_FILE"
|
||||
fi
|
||||
# Checking the sslproxy setting values
|
||||
is_boolean_yes "$MOODLE_SSLPROXY" && sed -i "/^require/i \$CFG->sslproxy = true;" "$MOODLE_CONF_FILE"
|
||||
if is_boolean_yes "$MOODLE_SSLPROXY"; then
|
||||
content="$(sed "/^require/i \$CFG->sslproxy = true;" "$MOODLE_CONF_FILE")"
|
||||
echo "$content" > "$MOODLE_CONF_FILE"
|
||||
fi
|
||||
|
||||
true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user