|
|
|
@ -24,9 +24,7 @@ listeners: |
|
|
|
|
tls: true |
|
|
|
|
x_forwarded: {{ ('0.0.0.0/0' in synapse_tls_src_ip) | ternary('False','True') }} |
|
|
|
|
resources: |
|
|
|
|
- names: [ client ] |
|
|
|
|
compress: True |
|
|
|
|
- names: [ federation ] |
|
|
|
|
- names: [ client, federation ] |
|
|
|
|
compress: False |
|
|
|
|
{% endif %} |
|
|
|
|
- port: {{ synapse_port }} |
|
|
|
@ -35,9 +33,7 @@ listeners: |
|
|
|
|
tls: False |
|
|
|
|
x_forwarded: {{ ('0.0.0.0/0' in synapse_src_ip) | ternary('False','True') }} |
|
|
|
|
resources: |
|
|
|
|
- names: [ client ] |
|
|
|
|
compress: {{ ('0.0.0.0/0' in synapse_src_ip) | ternary('True','False') }} |
|
|
|
|
- names: [ federation ] |
|
|
|
|
- names: [ client, federation ] |
|
|
|
|
compress: False |
|
|
|
|
|
|
|
|
|
database: |
|
|
|
@ -75,20 +71,6 @@ federation_ip_range_blacklist: |
|
|
|
|
federation_ip_range_blacklist: [] |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
rc_message: |
|
|
|
|
per_second: {{ synapse_rc_message_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_message_burst }} |
|
|
|
|
rc_login: |
|
|
|
|
address: |
|
|
|
|
per_second: {{ synapse_rc_login_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_login_burst }} |
|
|
|
|
account: |
|
|
|
|
per_second: {{ synapse_rc_login_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_login_burst }} |
|
|
|
|
failed_attempts: |
|
|
|
|
per_second: {{ synapse_rc_login_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_login_burst }} |
|
|
|
|
|
|
|
|
|
media_store_path: "{{ synapse_root_dir }}/media_store" |
|
|
|
|
uploads_path: "{{ synapse_root_dir }}/uploads" |
|
|
|
|
max_upload_size: "{{ synapse_upload_max_size }}" |
|
|
|
|