synapse-registration/config.dist.yaml
Kumi c3794bd1b6
feat: Add trust proxy configuration support
Introduces a 'trust_proxy' setting in the configuration file to
handle client IP addresses correctly. Updates logic in the
EmailInputView to extract the client IP based on trust proxy
settings, improving flexibility for deployments behind proxies.

Relates to handling requests within various network environments.
2024-11-16 20:01:42 +01:00

15 lines
No EOL
361 B
YAML

synapse:
admin_token: syt_your_admin_token
server: https://matrix.your.server
domain: your.server # i.e. the part after the : in your matrix ID
hosts:
- register.matrix.your.server
email:
host: mail.your.server
port: 587
username: registrations@your.server
password: your_password
tls: true
admin:
email: admin@your.server
trust_proxy: false