2023-05-29 14:08:34 +05:30
|
|
|
# Reverse proxy all user sites
|
|
|
|
*.p.projectsegfau.lt {
|
|
|
|
reverse_proxy 10.7.0.2:80
|
|
|
|
import acmedns
|
|
|
|
}
|
|
|
|
*.p.psf.lt {
|
2023-07-20 14:24:04 +05:30
|
|
|
@host header_regexp host Host ^([a-zA-Z0-9]+\-)?([A-Za-z0-9]+)\.p\.psf\.lt
|
|
|
|
handle @host {
|
2023-05-29 14:08:34 +05:30
|
|
|
reverse_proxy 10.7.0.2:80 {
|
|
|
|
header_up Host "{re.host.1}{re.host.2}.p.projectsegfau.lt"
|
2023-07-20 14:24:04 +05:30
|
|
|
}
|
2023-08-09 16:26:58 +05:30
|
|
|
import torloc {re.host.1}{re.host.2}.p
|
2023-07-20 14:24:04 +05:30
|
|
|
}
|
2023-05-29 14:08:34 +05:30
|
|
|
import acmedns
|
|
|
|
}
|
|
|
|
# Redirect base subdomain to the pubnix homepage
|
|
|
|
p.projectsegfau.lt p.psf.lt {
|
|
|
|
redir https://projectsegfau.lt/pubnix
|
|
|
|
}
|
|
|
|
|
|
|
|
# Cockpit
|
|
|
|
cockpit.p.projectsegfau.lt {
|
|
|
|
reverse_proxy 10.7.0.2:9090 {
|
|
|
|
transport http {
|
|
|
|
tls_insecure_skip_verify
|
|
|
|
}
|
|
|
|
}
|
|
|
|
import def
|
2023-08-09 16:26:58 +05:30
|
|
|
import torloc cockpit
|
2023-05-29 14:08:34 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
# PublAPI
|
|
|
|
publapi.p.projectsegfau.lt {
|
|
|
|
reverse_proxy 10.7.0.2:3000
|
|
|
|
import def
|
|
|
|
}
|
|
|
|
geminiproxy.projectsegfau.lt geminiproxy.p.projectsegfau.lt gp.p.psf.lt {
|
|
|
|
reverse_proxy 10.7.0.2:8000
|
|
|
|
import def
|
2023-08-09 16:26:58 +05:30
|
|
|
import torloc geminiproxy
|
2023-05-29 14:08:34 +05:30
|
|
|
}
|