Skip to content

Instantly share code, notes, and snippets.

@anderskitson
Created August 3, 2020 19:50
Show Gist options
  • Save anderskitson/d75a8ac601aac126a558bfd1b39a8f5b to your computer and use it in GitHub Desktop.
Save anderskitson/d75a8ac601aac126a558bfd1b39a8f5b to your computer and use it in GitHub Desktop.
server_name: "chat.kitson.tech"
pid_file: /root/synapse/homeserver.pid
federation_ip_range_blacklist:
- "127.0.0.0/8"
- "10.0.0.0/8"
- "172.16.0.0/12"
- "192.168.0.0/16"
- "100.64.0.0/10"
- "169.254.0.0/16"
- "::1/128"
- "fe80::/64"
- "fc00::/7"
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
bind_addresses: ["127.0.0.1"]
resources:
- names: [client, federation]
compress: false
acme:
enabled: false
port: 80
bind_addresses: ["::", "0.0.0.0"]
reprovision_threshold: 30
domain: matrix.example.com
account_key_file: /root/synapse/acme_account.key
database:
name: sqlite3
args:
database: /root/synapse/homeserver.db
log_config: "/root/synapse/chat.kitson.tech.log.config"
media_store_path: "/root/synapse/media_store"
registration_shared_secret: "obsf"
report_stats: true
app_service_config_files:
- discord-registration.yaml
# - app_service_2.yaml
macaroon_secret_key: "obsf"
form_secret: "obsf"
signing_key_path: "obsf"
trusted_key_servers:
- server_name: "matrix.org"
oidc_config:
user_mapping_provider:
config:
localpart_template: "{{ user.preferred_username }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment