server { listen 443 ssl; listen [::]:443 ssl; server_name matrix.{{ domain }}; location / { proxy_pass http://127.0.0.1:{{ ports['synapse'] }}; client_max_body_size {{ synapse['max_upload_size'] }}; } }