[bitnami/moodle] Release 4.0.7-debian-11-r1 (#27399)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-03-14 16:43:56 +01:00
committed by GitHub
parent 6228374ba0
commit cd7d1410b9
2 changed files with 23 additions and 3 deletions

View File

@@ -5,10 +5,10 @@ ARG TARGETARCH
ARG WITH_ALL_LOCALES="no"
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-03-13T04:05:44Z" \
org.opencontainers.image.created="2023-03-14T14:47:09Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="4.0.7-debian-11-r0" \
org.opencontainers.image.ref.name="4.0.7-debian-11-r1" \
org.opencontainers.image.title="moodle" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="4.0.7"

View File

@@ -43,4 +43,24 @@ php_conf_set extension "pgsql"
# Enable default web server configuration for Moodle
info "Creating default web server configuration for Moodle"
web_server_validate
ensure_web_server_app_configuration_exists "moodle" --type php
ensure_web_server_app_configuration_exists "moodle" --type php --apache-additional-configuration '
RewriteEngine On
RewriteRule "(\/vendor\/)" - [F]
RewriteRule "(\/node_modules\/)" - [F]
RewriteRule "(^|/)\.(?!well-known\/)" - [F]
RewriteRule "(composer\.json)" - [F]
RewriteRule "(\.lock)" - [F]
RewriteRule "(\/environment.xml)" - [F]
Options -Indexes
RewriteRule "(\/install.xml)" - [F]
RewriteRule "(\/README)" - [F]
RewriteRule "(\/readme)" - [F]
RewriteRule "(\/moodle_readme)" - [F]
RewriteRule "(\/upgrade\.txt)" - [F]
RewriteRule "(phpunit\.xml\.dist)" - [F]
RewriteRule "(\/tests\/behat\/)" - [F]
RewriteRule "(\/fixtures\/)" - [F]
RewriteRule "(\/package\.json)" - [F]
'