summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorKlaus Frank <agowa338@users.noreply.github.com>2021-11-25 14:03:48 +0100
committerGitHub <noreply@github.com>2021-11-25 13:03:48 +0000
commit6e54048644d7572f5fe9366329f18edc4d3de643 (patch)
tree7700748d15cd2fc35bd4bce363fcb1defc7b0084 /.config
parentd82bc95d110be2c49337733b352733397b77a47f (diff)
Add OVERWRITECLIURL env var (#1622)
Signed-off-by: Klaus Frank <git@frank.fyi>
Diffstat (limited to '.config')
-rw-r--r--.config/reverse-proxy.config.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/reverse-proxy.config.php b/.config/reverse-proxy.config.php
index 667be312..7df0415e 100644
--- a/.config/reverse-proxy.config.php
+++ b/.config/reverse-proxy.config.php
@@ -9,6 +9,11 @@ if ($overwriteProtocol) {
$CONFIG['overwriteprotocol'] = $overwriteProtocol;
}
+$overwriteCliUrl = getenv('OVERWRITECLIURL');
+if ($overwriteCliUrl) {
+ $CONFIG['overwrite.cli.url'] = $overwriteCliUrl;
+}
+
$overwriteWebRoot = getenv('OVERWRITEWEBROOT');
if ($overwriteWebRoot) {
$CONFIG['overwritewebroot'] = $overwriteWebRoot;