···
package = pkgs.caddy.withPlugins {
+
"github.com/caddy-dns/desec@v1.0.1"
"github.com/greenpau/caddy-security@v1.1.31"
"github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556"
+
hash = "sha256-lsceZXoTPJCDjl84OQTZUTBRuVAxo8KMWjTXzCFwA6U=";
email = "pyrox@pyrox.dev";
···
+
"${pns.authentik.extUrl}:443" = {
+
serverAliases = [ "${pns.authentik.extUrl}:80" ];
+
reverse_proxy http://${marvin}:${toString pns.authentik.anubis} {
+
header_up X-Real-Ip {remote_host}
+
header_up X-Http-Version {http.request.proto}
"http://${pns.authentik.extUrl}:389" = reverseProxyToMarvin 389 false;
"${pns.authentik.extUrl}:636" = reverseProxyToMarvin 636 false;
···
+
reverse_proxy ${marvin}:${toString pns.vaultwarden.anubis} {
header_up X-Real-IP {remote_host}
+
header_up X-Http-Version {http.request.proto}
···
+
reverse_proxy http://${marvin}:${toString pns.git.anubis} {
+
header_up X-Real-Ip {remote_host}
+
header_up X-Http-Version {http.request.proto}
${pns.grafana.extUrl} = {
+
reverse_proxy http://${marvin}:${toString pns.grafana.anubis} {
+
header_up X-Real-Ip {remote_host}
+
header_up X-Http-Version {http.request.proto}
${pns.miniflux.extUrl} = {
+
reverse_proxy http://${marvin}:${toString pns.miniflux.anubis} {
+
header_up X-Real-Ip {remote_host}
+
header_up X-Http-Version {http.request.proto}
${pns.nextcloud.extUrl} = {
+
reverse_proxy http://${marvin}:${toString pns.nextcloud.anubis} {
+
header_up X-Real-Ip {remote_host}
+
header_up X-Http-Version {http.request.proto}
# Nextcloud-Office(Collabora)
${pns.nextcloud-office.extUrl} = {
+
reverse_proxy http://${marvin}:${toString pns.nextcloud-office.anubis} {
+
header_up X-Real-Ip {remote_host}
+
header_up X-Http-Version {http.request.proto}
+
reverse_proxy http://${marvin}:${toString pns.planka.anubis} {
+
header_up X-Real-Ip {remote_host}
+
header_up X-Http-Version {http.request.proto}