~sumner/nixos-configuration

b508762235b4f828e2d87ab28c3d6741bc3e18a5 — Sumner Evans a month ago 751e71b
synapse: direct admin media paths to media repo
1 files changed, 1 insertions(+), 1 deletions(-)

M modules/services/matrix/synapse/default.nix
M modules/services/matrix/synapse/default.nix => modules/services/matrix/synapse/default.nix +1 -1
@@ 349,7 349,7 @@ in
              access_log /var/log/nginx/matrix-synchotron.access.log;
            '';
          };
          locations."~ ^/_matrix/media" = {
          locations."~ ^/(_matrix/media|_synapse/admin/v1/(purge_media_cache|(room|user)/.*/media.*|media/.*|quarantine_media/.*|users/.*/media))" = {
            proxyPass = "http://0.0.0.0:8011"; # without a trailing /
            extraConfig = ''
              access_log /var/log/nginx/matrix-media-repo.access.log;