From 9baa81032af36516895446aecea08e70e52bc8fb Mon Sep 17 00:00:00 2001 From: jreichmann Date: Sat, 30 Mar 2019 13:42:16 +0100 Subject: [PATCH] Added infrastructure-related vHosts and git-vHosts --- webhosts/git/Caddyfile | 15 +++++++++++++++ webhosts/infra/Caddyfile | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 webhosts/git/Caddyfile create mode 100644 webhosts/infra/Caddyfile diff --git a/webhosts/git/Caddyfile b/webhosts/git/Caddyfile new file mode 100644 index 0000000..1738213 --- /dev/null +++ b/webhosts/git/Caddyfile @@ -0,0 +1,15 @@ +https://git.finallycoffee.eu { + tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem + proxy / git_finallyCoffee:3000 { + transparent + websocket + } +} + +https://git.delta-industries.de { + tls /tls_certs/git.delta-industries.de/fullchain.pem /tls_certs/git.delta-industries.de/privkey.pem + proxy / git_deltaIndustries:3000 { + transparent + websocket + } +} diff --git a/webhosts/infra/Caddyfile b/webhosts/infra/Caddyfile new file mode 100644 index 0000000..d32e955 --- /dev/null +++ b/webhosts/infra/Caddyfile @@ -0,0 +1,32 @@ +https://admin.finallycoffee.eu { + tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem + proxy / https://172.21.0.1:9090 { + transparent + websocket + insecure_skip_verify + } +} + +https://dsl.gateway.finallycoffee.eu { + tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem + basicauth jdreichmann $pass { + realm "Intranet karlsruhe.flauschekatze.space" + / + } + proxy / http://192.168.0.2:80 { + transparent + websocket + } +} + +https://docsis.gateway.finallycoffee.eu { + tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem + basicauth jdreichmann $pass { + realm "Intranet karlsruhe.flauschekatze.space" + / + } + proxy / http://192.168.0.1:80 { + transparent + websocket + } +}