Skip to content

Commit

Permalink
synapse: allow federated media requests
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Sep 14, 2024
1 parent df9bb0c commit d0221dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/matrix/synapse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ in {
access_log /var/log/nginx/matrix-synchotron.access.log;
'';
};
locations."~ ^/(_matrix/media/.*/upload|_matrix/client/v1/media|_synapse/admin/v1/(purge_media_cache|(room|user)/.*/media.*|media/.*|quarantine_media/.*|users/.*/media))" =
locations."~ ^/(_matrix/media/.*/upload|_matrix/client/v1/media|_matrix/federation/v1/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 = ''
Expand Down

0 comments on commit d0221dc

Please sign in to comment.