mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-05-18 05:21:54 +00:00
Set SOGo related hosts from env var
This commit is contained in:
@@ -67,7 +67,7 @@ require_once 'functions.ratelimit.inc.php';
|
||||
require_once 'functions.acl.inc.php';
|
||||
|
||||
|
||||
$isSOGoRequest = $post['real_rip'] == getenv('IPV4_NETWORK') . '.248';
|
||||
$isSOGoRequest = $post['real_rip'] == getenv('SOGO_HOST');
|
||||
$result = false;
|
||||
if ($isSOGoRequest) {
|
||||
// This is a SOGo Auth request. First check for SSO password.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
remote {{ IPV4_NETWORK }}.248 {
|
||||
remote {{ SOGO_HOST }} {
|
||||
disable_plaintext_auth = no
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user