Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P19
synapse
Active
Public
Actions
Authored by
revi
on Jan 6 2021, 09:31.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Synapse
Subscribers
None
server
{
listen
443
ssl
;
listen
[::]:443
ssl
;
# For the federation port
listen
8448
ssl
default_server
;
listen
[::]:8448
ssl
default_server
;
server_name
matrix.revi.xyz
;
location
~
*
^(\/_matrix|\/_synapse\/client)
{
proxy_pass
http://localhost:8008
;
proxy_set_header
X-Forwarded-For
$remote_addr
;
# Nginx by default only allows file uploads up to 1M in size
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
client_max_body_size
50M
;
}
ssl_certificate
/etc/letsencrypt/live/matrix.revi.xyz/fullchain.pem
;
# managed by Certbot
ssl_certificate_key
/etc/letsencrypt/live/matrix.revi.xyz/privkey.pem
;
# managed by Certbot
}
Event Timeline
revi
created this paste.
Jan 6 2021, 09:31
2021-01-06 09:31:44 (UTC+9)
revi
created this object with visibility "Public (No Login Required)".
revi
edited the content of this paste.
(Show Details)
Jan 6 2021, 10:08
2021-01-06 10:08:19 (UTC+9)
revi
mentioned this in
T73: Synapse (Matrix Server)
.
Jan 6 2021, 10:29
2021-01-06 10:29:03 (UTC+9)
revi
mentioned this in
T132: add synapse nginx config to config repo
.
Jan 7 2021, 13:24
2021-01-07 13:24:37 (UTC+9)
Log In to Comment