# Proxy Configuration
[proxy]
# Enable Auto RecoverPort, default "5000"
port = "5000"
# Network interface, default "0.0.0.0"
inet = "127.0.0.1"
# Enable recover on panic, default true, should be true for production environment
recover = true
# Enable CorsCross-Origin Resource Sharing (CORS), should be true for production environment
cors = true
# Enable Request Request Track ID, default true
tracker = falsetrue
# Enable Request Logguer, default true
logger = true
# Listen Port
port = "5000"
# Listen IP
inet = "127.0.0.1" # Service with LDAP Authentication
[service.mftRate Limit IP Request over 1 second, default 0 (unlimited)
limit = 0
# Enable the Prometheus Metric Endpoint '/metric', default false
metrics = false
# Service 'local' with direct authentication on the waarp gateway
[service.local]
# MFT Waarp Gateway Listen Protocol
protocol = "http"
# MFT Waarp Gateway Hostname or IP
hostname = "localhost" [[service.local.targets]]
# MFT Waarp Gateway Hostname or IP
hostname = "localhost"
# MFT Waarp Gateway Port
port = 18080
# Service 'mft' with LDAP Authentication
[service.mft]
# MFT Waarp Gateway PortListen Protocol
port protocol = "18080http"
# This option is breaking glass option for admins, they will not reach the LDAP service during the Auth Stage admins = ["admin"]
[[service.mft.targets]]
# MFT Waarp Gateway Hostname or IP
hostname = "localhost"
# MFT Waarp Gateway Port
port = 18080
# User for Sync Password Between Ldap and Proxy
[service.mft.credential]
# Pre - Setup user under MFT Waarp Gateway
username = "ldap_sync"
password = "ldap_password"
# LDAP Configuration
[service.mft.auth.ldap]
# LDAP Server DC with OU
dn = "ou=users,dc=stonebranch,dc=com"
# LDAP Server FQDN or IP
hostname = "myldap.server.fqdn.com"
# LDAP Server pORT
port = " 1389"
|