From 39f0384ec95d6002984ba76b35ef24499b9badd6 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 19 Apr 2026 15:19:54 +0200 Subject: [PATCH] initialize --- .gitignore | 5 +++++ Caddyfile | 48 +++++++++++++++++++++++++++++++++++++++++++++++ example.caddy.env | 1 + 3 files changed, 54 insertions(+) create mode 100644 .gitignore create mode 100644 Caddyfile create mode 100644 example.caddy.env diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e99589b --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Environment variables +.env +.env.local +.env.*.local +!.env.example diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..558ab0b --- /dev/null +++ b/Caddyfile @@ -0,0 +1,48 @@ +# The Caddyfile is an easy way to configure your Caddy web server. +# +# Unless the file starts with a global options block, the first +# uncommented line is always the address of your site. +# +# To use your own domain name (with automatic HTTPS), first make +# sure your domain's A/AAAA DNS records are properly pointed to +# this machine's public IP, then replace ":80" below with your +# domain name. + +media.hubris.network { + tls { + dns ionos {env.IONOS_AUTH_API_TOKEN} + } + reverse_proxy 192.168.8.206:8096 +} + +git.hubris.network { + tls { + dns ionos {env.IONOS_AUTH_API_TOKEN} + } + reverse_proxy 192.168.8.121:3000 +} + +docker.hubris.network { + tls { + dns ionos {env.IONOS_AUTH_API_TOKEN} + } + reverse_proxy https://192.168.8.205:9443 { + transport http { + tls_insecure_skip_verify + } + } + +} + + +blog.hubris.network { + tls { + dns ionos {env.IONOS_AUTH_API_TOKEN} + } + + reverse_proxy https://192.168.8.109 { + transport http { + tls_insecure_skip_verify + } + } +} diff --git a/example.caddy.env b/example.caddy.env new file mode 100644 index 0000000..6b588b4 --- /dev/null +++ b/example.caddy.env @@ -0,0 +1 @@ +IONOS_AUTH_API_TOKEN=REPLACE_ME