@matrix { path /.well-known/matrix/* } handle @matrix { reverse_proxy 10.163.5.51:81 { header_up Host matrix.privacyguides.org header_up X-Forwarded-Port {http.request.port} header_up X-Forwarded-TlsProto {tls_protocol} header_up X-Forwarded-TlsCipher {tls_cipher} header_up X-Forwarded-HttpsProto {proto} } }