ansible/privfrontends/templates/in/internal.Caddyfile

88 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2023-09-14 14:42:16 +05:30
# ---Internal Caddyfile---
# MailU
mail.projectsegfau.lt {
import def
2023-10-08 11:59:54 +05:30
reverse_proxy :8082
2023-09-14 14:42:16 +05:30
}
# Website dev
web.dev.projectsegfau.lt {
reverse_proxy :1339
import def
}
blog.projectsegfau.lt {
reverse_proxy :2368 {
header_up X-Forwarded-Proto https
header_up X-Real-IP {remote_host}
}
import def
}
# Headscale (tailscale control server)
hs.projectsegfau.lt {
reverse_proxy /web* https://:9443 {
transport http {
tls_insecure_skip_verify
}
}
reverse_proxy * :8089
2024-01-11 16:11:05 +05:30
import def
2023-09-14 14:42:16 +05:30
}
# Caddy daily build (for ansible)
cb.projectsegfau.lt {
root * /var/www/caddy-build
file_server browse
encode gzip
2024-01-11 16:11:05 +05:30
import def
2023-09-14 14:42:16 +05:30
}
# GotHub
docs.gothub.app {
redir https://gothub.app/docs{uri}
}
synapseadmin.vpn.projectsegfau.lt s.v.psf.lt {
2023-12-24 20:45:10 +05:30
import acmedns
2023-09-14 14:42:16 +05:30
reverse_proxy :8420
}
bitpuit.vpn.projectsegfau.lt b.v.psf.lt {
2023-12-24 20:45:10 +05:30
import acmedns
2023-09-14 14:42:16 +05:30
reverse_proxy https://192.168.1.2:8006 {
transport http {
tls_insecure_skip_verify
}
}
import def
}
bitpuit2.vpn.projectsegfau.lt b2.v.psf.lt {
2023-12-24 20:45:10 +05:30
import acmedns
2023-09-14 14:42:16 +05:30
reverse_proxy https://192.168.1.58:8006 {
transport http {
tls_insecure_skip_verify
}
}
import def
}
ansible.vpn.projectsegfau.lt a.v.psf.lt {
import acmedns
reverse_proxy :3527
}
grafana.vpn.projectsegfau.lt g.v.psf.lt {
import acmedns
2023-10-08 11:59:54 +05:30
reverse_proxy :3170
2023-09-14 14:42:16 +05:30
}
prometheus.vpn.projectsegfau.lt {
import acmedns
2023-10-08 11:59:54 +05:30
reverse_proxy :9090
2023-09-14 14:42:16 +05:30
}
rabbitmq.vpn.projectsegfau.lt rq.v.psf.lt {
import acmedns
2023-09-15 17:29:33 +05:30
reverse_proxy 192.168.1.64:15672
2023-09-14 14:42:16 +05:30
}