Optimized LDAP_DN_BASE for hostname

This commit is contained in:
2025-08-15 15:31:27 +02:00
parent cc51629337
commit 411a1f8931
2 changed files with 9 additions and 11 deletions

View File

@@ -28,9 +28,7 @@ WEB_PROTOCOL: "https" # Web protocol type. Use https or http. If
WEB_PORT: "{{ 443 if WEB_PROTOCOL == 'https' else 80 }}" # Default port web applications will listen to
# Domain
PRIMARY_DOMAIN: "localhost" # Primary Domain of the server
PRIMARY_DOMAIN_TLD: "{{ (PRIMARY_DOMAIN == 'localhost') | ternary('localhost', PRIMARY_DOMAIN.split('.')[-1]) }}" # Top Level Domain of the server
PRIMARY_DOMAIN_SLD: "{{ (PRIMARY_DOMAIN == 'localhost') | ternary('localhost', PRIMARY_DOMAIN.split('.')[-2]) }}" # Second Level Domain of the server
PRIMARY_DOMAIN: "localhost" # Primary Domain of the server
# Server Tact Variables