File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
nixos/modules/services/matrix/synapse Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 379
379
access_log /var/log/nginx/matrix-synchotron.access.log;
380
380
'' ;
381
381
} ;
382
- locations . "~ ^/(_matrix/media/v3 /upload|_matrix/client/v1/media|_synapse/admin/v1/(purge_media_cache|(room|user)/.*/media.*|media/.*|quarantine_media/.*|users/.*/media))" =
382
+ locations . "~ ^/(_matrix/media/.* /upload|_matrix/client/v1/media|_synapse/admin/v1/(purge_media_cache|(room|user)/.*/media.*|media/.*|quarantine_media/.*|users/.*/media))" =
383
383
{
384
384
proxyPass = "http://0.0.0.0:8011" ; # without a trailing /
385
385
extraConfig = ''
388
388
} ;
389
389
390
390
# black-hole old media
391
- locations . "~ ^/_matrix/media/v3 /download" = { return = "404" ; } ;
391
+ locations . "~ ^/_matrix/media/.* /download" = { return = "404" ; } ;
392
392
} ;
393
393
394
394
"syncv3.${ config . networking . domain } " = {
You can’t perform that action at this time.
0 commit comments