diff options
author | Klaus Frank <agowa338@users.noreply.github.com> | 2021-11-25 14:03:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 13:03:48 +0000 |
commit | 6e54048644d7572f5fe9366329f18edc4d3de643 (patch) | |
tree | 7700748d15cd2fc35bd4bce363fcb1defc7b0084 /.config | |
parent | d82bc95d110be2c49337733b352733397b77a47f (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.php | 5 |
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; |