2023-07-17 22:36:06 +05:30
|
|
|
# ---Internal Caddyfile---
|
|
|
|
|
|
|
|
# Authentik
|
|
|
|
sekuritee.projectsegfau.lt {
|
|
|
|
reverse_proxy https://192.168.5.2:7443 {
|
|
|
|
transport http {
|
|
|
|
tls_insecure_skip_verify
|
|
|
|
}
|
|
|
|
header_up X-Real-IP {remote_host}
|
|
|
|
}
|
|
|
|
import def
|
|
|
|
}
|
|
|
|
# Grafana
|
|
|
|
grafana.projectsegfau.lt {
|
|
|
|
reverse_proxy 192.168.5.2:3169
|
|
|
|
handle_path /api/live {
|
|
|
|
reverse_proxy 192.168.5.2:3169
|
|
|
|
}
|
|
|
|
import def
|
|
|
|
}
|
|
|
|
|
|
|
|
# MailU
|
|
|
|
mail.projectsegfau.lt {
|
|
|
|
log {
|
|
|
|
output file /var/log/caddy/mail.projectsegfau.lt.log {
|
|
|
|
roll_disabled
|
|
|
|
roll_size 512M
|
|
|
|
roll_uncompressed
|
|
|
|
roll_local_time
|
|
|
|
roll_keep 3
|
|
|
|
roll_keep_for 48h
|
|
|
|
}
|
|
|
|
}
|
|
|
|
import def
|
|
|
|
reverse_proxy 192.168.5.5:8082
|
|
|
|
}
|
|
|
|
|
|
|
|
# Plausible
|
|
|
|
analytics.projectsegfau.lt {
|
|
|
|
reverse_proxy 192.168.5.2:8001
|
|
|
|
import def
|
|
|
|
}
|
|
|
|
|
|
|
|
# Website dev
|
|
|
|
web.dev.projectsegfau.lt {
|
|
|
|
reverse_proxy 192.168.5.2:1339
|
|
|
|
import def
|
|
|
|
}
|
|
|
|
|
|
|
|
blog.projectsegfau.lt {
|
|
|
|
reverse_proxy 192.168.5.2:2368 {
|
|
|
|
header_up X-Forwarded-Proto https
|
|
|
|
header_up X-Real-IP {remote_host}
|
|
|
|
}
|
|
|
|
import def
|
|
|
|
}
|
|
|
|
prometheus.projectsegfau.lt {
|
|
|
|
reverse_proxy 192.168.5.2:9090
|
|
|
|
basicauth /* {
|
|
|
|
admin $2a$14$1asDwG2gbyJ3.SungtdOyeqBlW1IiKQ//qI3ienQCTldaosx1qzSC
|
|
|
|
}
|
|
|
|
import def
|
|
|
|
}
|
|
|
|
|
|
|
|
# Midou PersoVM
|
|
|
|
matrix.midou.dev {
|
|
|
|
reverse_proxy /_matrix/* 192.168.5.6:8008
|
2023-07-20 14:13:37 +05:30
|
|
|
import def
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
file.midou.dev {
|
|
|
|
reverse_proxy 192.168.5.6:8080
|
2023-07-20 14:13:37 +05:30
|
|
|
import def
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
c.midou.dev {
|
|
|
|
reverse_proxy 192.168.5.6:8978
|
2023-07-20 14:13:37 +05:30
|
|
|
import def
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
# Headscale (tailscale control server)
|
|
|
|
hs.projectsegfau.lt {
|
2023-07-20 14:24:04 +05:30
|
|
|
reverse_proxy /web* https://192.168.5.5:9443 {
|
2023-07-17 22:36:06 +05:30
|
|
|
transport http {
|
|
|
|
tls_insecure_skip_verify
|
|
|
|
}
|
|
|
|
}
|
2023-07-20 14:24:04 +05:30
|
|
|
reverse_proxy * 192.168.5.5:8089
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
# Caddy daily build (for ansible)
|
|
|
|
cb.projectsegfau.lt {
|
|
|
|
root * /var/www/caddy-build
|
|
|
|
file_server browse
|
|
|
|
encode gzip
|
|
|
|
}
|
|
|
|
# GotHub
|
|
|
|
docs.gothub.app {
|
|
|
|
redir https://gothub.app/docs{uri}
|
|
|
|
}
|
|
|
|
# OLD URLs
|
|
|
|
http://mutahar.rocks, http://*.mutahar.rocks {
|
2023-07-20 14:24:04 +05:30
|
|
|
redir https://projectsegfau.lt
|
2023-07-17 22:36:06 +05:30
|
|
|
}
|