allow matrix-media-v1
This commit is contained in:
parent
d5dd7e1e80
commit
218fc3aaf7
@ -62,7 +62,7 @@ matrix.projectsegfau.lt {
|
||||
handle_path / {
|
||||
redir https://wiki.projectsegfau.lt/Matrix
|
||||
}
|
||||
@hasSlashes path_regexp expression \/_matrix\/media\/(v3|r0)\/(download|thumbnail)\/projectsegfau.lt\/([a-zA-Z]{2})([a-zA-Z]{2})([a-zA-z]+)
|
||||
@hasSlashes path_regexp expression \/_matrix\/media\/(v3|v1|r0)\/(download|thumbnail)\/projectsegfau.lt\/([a-zA-Z]{2})([a-zA-Z]{2})([a-zA-z]+)
|
||||
rewrite @hasSlashes /mediawork/{re.expression.3}/{re.expression.4}/{re.expression.5}
|
||||
handle_path /mediawork/* {
|
||||
root * /mnt/matrix/synapse/storage/media-store/local_content
|
||||
|
Loading…
Reference in New Issue
Block a user