1
0
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:
FreddleSpl0it
2025-05-30 20:46:49 +02:00
parent 6382e3128d
commit e8d155d7e0
9 changed files with 30 additions and 21 deletions

View File

@@ -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.

View File

@@ -1,3 +1,3 @@
remote {{ IPV4_NETWORK }}.248 {
remote {{ SOGO_HOST }} {
disable_plaintext_auth = no
}