From 6d2390726fe7110b406c447d48aa345fc9d07122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Mar=C3=B3y?= Date: Thu, 16 Apr 2020 17:54:48 +0200 Subject: Expose reverse proxy related configuration as environment variables (#1048) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Expose reverse proxy related configuration as environment variables Signed-off-by: András Maróy * Update README.md Co-Authored-By: J0WI Signed-off-by: András Maróy * Update README.md Co-Authored-By: J0WI Signed-off-by: András Maróy * Add default values for reverse proxy config from environment Signed-off-by: András Maróy * Change reverse proxy default values to null Signed-off-by: András Maróy * Store environment variables in vars in reverse-proxy config Signed-off-by: András Maróy * Merge reverse proxy configs Signed-off-by: András Maróy * Move overwrite parameters to reverse proxy section in the readme Signed-off-by: András Maróy * Add reverse proxy config to 19.0-beta images Signed-off-by: András Maróy * Remove default null from reverse proxy config to avoid breaking existing deployments Signed-off-by: András Maróy Co-authored-by: J0WI --- .config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ .config/reverse_proxy.config.php | 11 ---------- 16.0/apache/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 16.0/apache/config/reverse_proxy.config.php | 11 ---------- 16.0/fpm-alpine/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 16.0/fpm-alpine/config/reverse_proxy.config.php | 11 ---------- 16.0/fpm/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 16.0/fpm/config/reverse_proxy.config.php | 11 ---------- 17.0/apache/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 17.0/apache/config/reverse_proxy.config.php | 11 ---------- 17.0/fpm-alpine/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 17.0/fpm-alpine/config/reverse_proxy.config.php | 11 ---------- 17.0/fpm/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 17.0/fpm/config/reverse_proxy.config.php | 11 ---------- 18.0/apache/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 18.0/apache/config/reverse_proxy.config.php | 11 ---------- 18.0/fpm-alpine/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 18.0/fpm-alpine/config/reverse_proxy.config.php | 11 ---------- 18.0/fpm/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 18.0/fpm/config/reverse_proxy.config.php | 11 ---------- 19.0-beta/apache/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 19.0-beta/apache/config/reverse_proxy.config.php | 11 ---------- .../fpm-alpine/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ .../fpm-alpine/config/reverse_proxy.config.php | 11 ---------- 19.0-beta/fpm/config/reverse-proxy.config.php | 25 ++++++++++++++++++++++ 19.0-beta/fpm/config/reverse_proxy.config.php | 11 ---------- README.md | 14 +++++++++++- 27 files changed, 338 insertions(+), 144 deletions(-) create mode 100644 .config/reverse-proxy.config.php delete mode 100644 .config/reverse_proxy.config.php create mode 100644 16.0/apache/config/reverse-proxy.config.php delete mode 100644 16.0/apache/config/reverse_proxy.config.php create mode 100644 16.0/fpm-alpine/config/reverse-proxy.config.php delete mode 100644 16.0/fpm-alpine/config/reverse_proxy.config.php create mode 100644 16.0/fpm/config/reverse-proxy.config.php delete mode 100644 16.0/fpm/config/reverse_proxy.config.php create mode 100644 17.0/apache/config/reverse-proxy.config.php delete mode 100644 17.0/apache/config/reverse_proxy.config.php create mode 100644 17.0/fpm-alpine/config/reverse-proxy.config.php delete mode 100644 17.0/fpm-alpine/config/reverse_proxy.config.php create mode 100644 17.0/fpm/config/reverse-proxy.config.php delete mode 100644 17.0/fpm/config/reverse_proxy.config.php create mode 100644 18.0/apache/config/reverse-proxy.config.php delete mode 100644 18.0/apache/config/reverse_proxy.config.php create mode 100644 18.0/fpm-alpine/config/reverse-proxy.config.php delete mode 100644 18.0/fpm-alpine/config/reverse_proxy.config.php create mode 100644 18.0/fpm/config/reverse-proxy.config.php delete mode 100644 18.0/fpm/config/reverse_proxy.config.php create mode 100644 19.0-beta/apache/config/reverse-proxy.config.php delete mode 100644 19.0-beta/apache/config/reverse_proxy.config.php create mode 100644 19.0-beta/fpm-alpine/config/reverse-proxy.config.php delete mode 100644 19.0-beta/fpm-alpine/config/reverse_proxy.config.php create mode 100644 19.0-beta/fpm/config/reverse-proxy.config.php delete mode 100644 19.0-beta/fpm/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..667be312 --- /dev/null +++ b/.config/reverse-proxy.config.php @@ -0,0 +1,25 @@ +