mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-17 20:05:09 +01:00
20 lines
498 B
PHP
20 lines
498 B
PHP
<?php
|
|
if (getenv('OVERWRITEHOST')) {
|
|
$CONFIG['overwritehost'] = getenv('OVERWRITEHOST');
|
|
}
|
|
|
|
if (getenv('OVERWRITEPROTOCOL')) {
|
|
$CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL');
|
|
}
|
|
|
|
if (getenv('OVERWRITEWEBROOT')) {
|
|
$CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT');
|
|
}
|
|
|
|
if (getenv('OVERWRITECONDADDR')) {
|
|
$CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR');
|
|
}
|
|
|
|
if (getenv('TRUSTED_PROXIES')) {
|
|
$CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES'));
|
|
}
|