Merge branch 'master' of git.projectsegfau.lt:ProjectSegfault/ansible

This commit is contained in:
Midou36O 2023-12-24 16:30:08 +01:00
commit 02cf144a84
Signed by: midou
GPG Key ID: 1D134A95FE521A7A
5 changed files with 48 additions and 42 deletions

View File

@ -118,7 +118,6 @@ http://search.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion htt
} }
} }
http://git.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion http://pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p { http://git.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion http://pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p {
import tor git import tor git
import i2ploc pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p import i2ploc pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p

View File

@ -50,6 +50,12 @@ matrix.projectsegfau.lt {
handle_path / { handle_path / {
redir https://wiki.projectsegfau.lt/Matrix 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}
handle_path /mediawork/* {
root * /mnt/matrix/synapse/storage/media-store/local_content
file_server browse
}
} }
# Element # Element

View File

@ -0,0 +1 @@