Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

41 行
1.3 KiB

  1. matrix.example.tld {
  2. handle {
  3. encode zstd gzip
  4. reverse_proxy localhost:81 {
  5. header_up X-Forwarded-Port {http.request.port}
  6. header_up X-Forwarded-TlsProto {tls_protocol}
  7. header_up X-Forwarded-TlsCipher {tls_cipher}
  8. header_up X-Forwarded-HttpsProto {proto}
  9. }
  10. }
  11. }
  12. matrix.example.tld:8448 {
  13. handle {
  14. encode zstd gzip
  15. reverse_proxy 127.0.0.1:8449 {
  16. header_up X-Forwarded-Port {http.request.port}
  17. header_up X-Forwarded-TlsProto {tls_protocol}
  18. header_up X-Forwarded-TlsCipher {tls_cipher}
  19. header_up X-Forwarded-HttpsProto {proto}
  20. }
  21. }
  22. }
  23. example.tld {
  24. # Uncomment this if you are following "(Option 3): Setting up reverse-proxying of the well-known files from the base domain's server to the Matrix server" of https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-well-known.md#option-3-setting-up-reverse-proxying-of-the-well-known-files-from-the-base-domains-server-to-the-matrix-server
  25. @wellknown {
  26. path /.well-known/matrix/*
  27. }
  28. handle @wellknown {
  29. reverse_proxy https://matrix.example.tld {
  30. header_up Host {http.reverse_proxy.upstream.hostport}
  31. }
  32. }
  33. }