final matrix media fix hopefully
This commit is contained in:
parent
05fd071cce
commit
77599d67e8
@ -50,8 +50,8 @@ matrix.projectsegfau.lt {
|
||||
handle_path / {
|
||||
redir https://wiki.projectsegfau.lt/Matrix
|
||||
}
|
||||
@hasSlashes path_regexp expression \/_matrix\/media\/projectsegfau.lt\/([a-zA-Z]{2})([a-zA-Z]{2})([a-zA-z]+)
|
||||
rewrite @hasSlashes /mediawork/{re.expression.1}/{re.expression.2}/{re.expression.3}
|
||||
@hasSlashes path_regexp expression \/_matrix\/media\/(v3|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
|
||||
file_server
|
||||
|
Loading…
Reference in New Issue
Block a user