From 8702324f4879056dc2f54332d5b505219c7fe723 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Fri, 20 Dec 2024 14:39:40 +0530 Subject: [PATCH] move some services to internal-01 --- privfrontends/templates/in/internal.Caddyfile | 43 ------------------- privfrontends/templates/in/misc.Caddyfile | 8 ---- 2 files changed, 51 deletions(-) diff --git a/privfrontends/templates/in/internal.Caddyfile b/privfrontends/templates/in/internal.Caddyfile index 0a62241..1f2fe36 100644 --- a/privfrontends/templates/in/internal.Caddyfile +++ b/privfrontends/templates/in/internal.Caddyfile @@ -6,31 +6,6 @@ mail.projectsegfau.lt { reverse_proxy :8082 } -# 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 - import def -} - # Caddy daily build (for ansible) cb.projectsegfau.lt { root * /var/www/caddy-build @@ -59,20 +34,6 @@ bitpuit.vpn.projectsegfau.lt b.v.psf.lt { import def } -bitpuit2.vpn.projectsegfau.lt b2.v.psf.lt { - import acmedns - 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 reverse_proxy :3170 @@ -81,7 +42,3 @@ prometheus.vpn.projectsegfau.lt { import acmedns reverse_proxy :9090 } -rabbitmq.vpn.projectsegfau.lt rq.v.psf.lt { - import acmedns - reverse_proxy 192.168.1.64:15672 -} diff --git a/privfrontends/templates/in/misc.Caddyfile b/privfrontends/templates/in/misc.Caddyfile index e45bed0..4a383e7 100644 --- a/privfrontends/templates/in/misc.Caddyfile +++ b/privfrontends/templates/in/misc.Caddyfile @@ -16,14 +16,6 @@ tnfiles.perso.in.projectsegfau.lt { mozhi.aryak.me { reverse_proxy :5046 } -dhairya.aryak.me { - header /.well-known/matrix/* Content-Type application/json - header /.well-known/matrix/* Access-Control-Allow-Origin * - handle_path /.well-known/* { - root * /var/www/perso-well-known - file_server - } -} http://*.tildevarsh.in https://tildevarsh.in { respond `R.I.P ~varsh, you'll be missed. :q! If you are a varsh user and want to get your data, email me@aryak.me with your username from your registered email address.