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

@ -19,7 +19,7 @@ http://cockpit.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
import tor cockpit
}
http://*.p.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
@host header_regexp host Host ^([a-zA-Z0-9]+\-)?([A-Za-z0-9]+)\.p\.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad\.onion
@host header_regexp host Host ^([a-zA-Z0-9]+\-)?([A-Za-z0-9]+)\.p\.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad\.onion
handle @host {
reverse_proxy 10.7.0.2:80 {
header_up Host "{re.host.1}{re.host.2}.p.projectsegfau.lt"
@ -118,7 +118,6 @@ http://search.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion htt
}
}
http://git.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion http://pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p {
import tor git
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 {
header_up Host "invidious.projectsegfau.lt"
}
@pipedproxy {
path /videoplayback
path /videoplayback/*
path /vi/*
path /ggpht/*
}
handle @pipedproxy {
reverse_proxy :6970 {
header_up Host "proxy.piped.projectsegfau.lt"
}
@jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg
@thumbnailRedirect path /ggpht/*
uri @thumbnailRedirect strip_prefix /ggpht
rewrite @thumbnailRedirect ?host=yt3.ggpht.com
uri @jpgRedirect replace /maxres.jpg /maxres2.jpg
rewrite /vi/* ?host=i.ytimg.com
}
@pipedproxy {
path /videoplayback
path /videoplayback/*
path /vi/*
path /ggpht/*
}
handle @pipedproxy {
reverse_proxy :6970 {
header_up Host "proxy.piped.projectsegfau.lt"
}
@jpgRedirect path_regexp maxres2 /vi/(.+)/maxres.jpg
@thumbnailRedirect path /ggpht/*
uri @thumbnailRedirect strip_prefix /ggpht
rewrite @thumbnailRedirect ?host=yt3.ggpht.com
uri @jpgRedirect replace /maxres.jpg /maxres2.jpg
rewrite /vi/* ?host=i.ytimg.com
}
import def
header -X-Frame-Options
import torloc invbp
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
}
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
reverse_proxy :6970
header -X-Frame-Options
import def
}
piped.projectsegfau.lt proxy.piped.projectsegfau.lt api.piped.projectsegfau.lt {
reverse_proxy :6970
header -X-Frame-Options
import def
}
pi.psf.lt {
reverse_proxy :6970 {
header_up Host "piped.projectsegfau.lt"
}
header -X-Frame-Options
import def
reverse_proxy :6970 {
header_up Host "piped.projectsegfau.lt"
}
header -X-Frame-Options
import def
}
proxy.lbry.projectsegfau.lt {
reverse_proxy localhost:3001

View File

@ -30,12 +30,12 @@ psf.lt {
reverse_proxy :1337
import def
import torloc www
header /.well-known/matrix/* Content-Type application/json
header /.well-known/matrix/* Access-Control-Allow-Origin *
handle_path /.well-known/* {
root * /var/www/psf-well-known
file_server
}
header /.well-known/matrix/* Content-Type application/json
header /.well-known/matrix/* Access-Control-Allow-Origin *
handle_path /.well-known/* {
root * /var/www/psf-well-known
file_server
}
}
www.projectsegfau.lt www.psf.lt {
@ -50,6 +50,12 @@ 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}
handle_path /mediawork/* {
root * /mnt/matrix/synapse/storage/media-store/local_content
file_server browse
}
}
# Element
@ -190,10 +196,10 @@ auth.p.projectsegfau.lt {
}
# kbin
kbin.projectsegfau.lt, kb.psf.lt {
reverse_proxy :8014 {
header_up X-Real-IP {remote_host}
}
import def
reverse_proxy :8014 {
header_up X-Real-IP {remote_host}
}
import def
}
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 {
import acmedns
import acmedns
reverse_proxy :8420
}
bitpuit.vpn.projectsegfau.lt b.v.psf.lt {
import acmedns
import acmedns
reverse_proxy https://192.168.1.2:8006 {
transport http {
tls_insecure_skip_verify
@ -58,7 +58,7 @@ bitpuit.vpn.projectsegfau.lt b.v.psf.lt {
}
bitpuit2.vpn.projectsegfau.lt b2.v.psf.lt {
import acmedns
import acmedns
reverse_proxy https://192.168.1.58:8006 {
transport http {
tls_insecure_skip_verify

View File

@ -0,0 +1 @@