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

@ -6,39 +6,39 @@ inv.bp.projectsegfau.lt, i.bp.psf.lt, invidious.projectsegfau.lt, inv.projectseg
reverse_proxy localhost:7573 { reverse_proxy localhost:7573 {
header_up Host "invidious.projectsegfau.lt" header_up Host "invidious.projectsegfau.lt"
} }
@pipedproxy { @pipedproxy {
path /videoplayback path /videoplayback
path /videoplayback/* path /videoplayback/*
path /vi/* path /vi/*
path /ggpht/* path /ggpht/*
} }
handle @pipedproxy { handle @pipedproxy {
reverse_proxy :6970 { reverse_proxy :6970 {
header_up Host "proxy.piped.projectsegfau.lt" header_up Host "proxy.piped.projectsegfau.lt"
} }
@jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg @jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg
@thumbnailRedirect path /ggpht/* @thumbnailRedirect path /ggpht/*
uri @thumbnailRedirect strip_prefix /ggpht uri @thumbnailRedirect strip_prefix /ggpht
rewrite @thumbnailRedirect ?host=yt3.ggpht.com rewrite @thumbnailRedirect ?host=yt3.ggpht.com
uri @jpgRedirect replace /maxres.jpg /maxres2.jpg uri @jpgRedirect replace /maxres.jpg /maxres2.jpg
rewrite /vi/* ?host=i.ytimg.com rewrite /vi/* ?host=i.ytimg.com
} }
import def import def
header -X-Frame-Options header -X-Frame-Options
import torloc invbp import torloc invbp
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
} }
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt { piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
reverse_proxy :6970 reverse_proxy :6970
header -X-Frame-Options header -X-Frame-Options
import def import def
} }
pi.psf.lt { pi.psf.lt {
reverse_proxy :6970 { reverse_proxy :6970 {
header_up Host "piped.projectsegfau.lt" header_up Host "piped.projectsegfau.lt"
} }
header -X-Frame-Options header -X-Frame-Options
import def import def
} }
proxy.lbry.projectsegfau.lt { proxy.lbry.projectsegfau.lt {
reverse_proxy localhost:3001 reverse_proxy localhost:3001

View File

@ -30,12 +30,12 @@ psf.lt {
reverse_proxy :1337 reverse_proxy :1337
import def import def
import torloc www import torloc www
header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Content-Type application/json
header /.well-known/matrix/* Access-Control-Allow-Origin * header /.well-known/matrix/* Access-Control-Allow-Origin *
handle_path /.well-known/* { handle_path /.well-known/* {
root * /var/www/psf-well-known root * /var/www/psf-well-known
file_server file_server
} }
} }
www.projectsegfau.lt www.psf.lt { www.projectsegfau.lt www.psf.lt {
@ -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
@ -190,10 +196,10 @@ auth.p.projectsegfau.lt {
} }
# kbin # kbin
kbin.projectsegfau.lt, kb.psf.lt { kbin.projectsegfau.lt, kb.psf.lt {
reverse_proxy :8014 { reverse_proxy :8014 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {remote_host}
} }
import def import def
} }
gothub.dev.projectsegfau.lt gh.dev.psf.lt { gothub.dev.projectsegfau.lt gh.dev.psf.lt {

View File

@ -43,12 +43,12 @@ docs.gothub.app {
} }
synapseadmin.vpn.projectsegfau.lt s.v.psf.lt { synapseadmin.vpn.projectsegfau.lt s.v.psf.lt {
import acmedns import acmedns
reverse_proxy :8420 reverse_proxy :8420
} }
bitpuit.vpn.projectsegfau.lt b.v.psf.lt { bitpuit.vpn.projectsegfau.lt b.v.psf.lt {
import acmedns import acmedns
reverse_proxy https://192.168.1.2:8006 { reverse_proxy https://192.168.1.2:8006 {
transport http { transport http {
tls_insecure_skip_verify tls_insecure_skip_verify
@ -58,7 +58,7 @@ bitpuit.vpn.projectsegfau.lt b.v.psf.lt {
} }
bitpuit2.vpn.projectsegfau.lt b2.v.psf.lt { bitpuit2.vpn.projectsegfau.lt b2.v.psf.lt {
import acmedns import acmedns
reverse_proxy https://192.168.1.58:8006 { reverse_proxy https://192.168.1.58:8006 {
transport http { transport http {
tls_insecure_skip_verify tls_insecure_skip_verify

View File

@ -0,0 +1 @@