From 8f268a8dc4d20871428c8dca5827376a2b71c432 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sat, 22 Feb 2020 18:00:57 +0100 Subject: [PATCH] Disable rewrite ip for apache image Signed-off-by: Daniel Kesselberg --- .config/reverse_proxy.config.php | 11 +++++++++++ README.md | 8 ++++++++ docker-entrypoint.sh | 6 ++++++ 3 files changed, 25 insertions(+) create mode 100644 .config/reverse_proxy.config.php diff --git a/.config/reverse_proxy.config.php b/.config/reverse_proxy.config.php new file mode 100644 index 00000000..26a8bff3 --- /dev/null +++ b/.config/reverse_proxy.config.php @@ -0,0 +1,11 @@ +/dev/null; then + if [ -n "${APACHE_DISABLE_REWRITE_IP+x}" ]; then + a2disconf remoteip + fi +fi + if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UPDATE:-0}" -eq 1 ]; then if [ -n "${REDIS_HOST+x}" ]; then