Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
598 B

  1. https://matrix.DOMAIN {
  2. tls /matrix/ssl/config/live/matrix.DOMAIN/fullchain.pem /matrix/ssl/config/live/matrix.DOMAIN/privkey.pem
  3. root /matrix/static-files
  4. header {
  5. Access-Control-Allow-Origin *
  6. Strict-Transport-Security "mag=age=31536000;"
  7. X-Frame-Options "DENY"
  8. X-XSS-Protection "1; mode=block"
  9. }
  10. proxy /_matrix/identity matrix-msisd:8090 {
  11. transparent
  12. }
  13. proxy /_matrix/client/r0/user_directory/search matrix-msisd:8090 {
  14. transparent
  15. }
  16. proxy / matrix-synapse:8008 {
  17. transparent
  18. without /.well-known/ /_matrix/identity/ /_matrix/client/r0/user_directory/search
  19. }
  20. }