diff --git a/reverseproxy/caddy/Caddyfile b/reverseproxy/caddy/Caddyfile index 6aabfad..bc54a20 100644 --- a/reverseproxy/caddy/Caddyfile +++ b/reverseproxy/caddy/Caddyfile @@ -77,6 +77,19 @@ authentik.akanealw.com { # } # # +# @ host .akanealw.com +# handle @ { +# handle @allowed { +# reverse_proxy https://192.168.1. { +# transport http { +# tls_insecure_skip_verify +# } +# } +# } +# respond "ip range not allowed" +# } +# +# # -------------------------------------------------- @allowed client_ip private_ranges import cloudflare @@ -288,7 +301,7 @@ authentik.akanealw.com { transport http { tls_insecure_skip_verify } - } + } } respond "ip range not allowed" } @@ -301,14 +314,6 @@ authentik.akanealw.com { respond "ip range not allowed" } - @ryot host ryot.akanealw.com - handle @ryot { - handle @allowed { - reverse_proxy 192.168.1.30:8584 - } - respond "ip range not allowed" - } - @scripts host scripts.akanealw.com handle @scripts { handle @allowed { @@ -328,25 +333,37 @@ authentik.akanealw.com { @dockersyncthing host dockerserver-syncthing.akanealw.com handle @dockersyncthing { handle @allowed { - reverse_proxy 192.168.1.30:8384 - } + reverse_proxy 192.168.1.30:8384 { + transport http { + tls_insecure_skip_verify + } + } respond "ip range not allowed" + } } @gamingpcsyncthing host gamingpc-syncthing.akanealw.com handle @gamingpcsyncthing { handle @allowed { - reverse_proxy 192.168.1.11:8384 - } + reverse_proxy 192.168.1.11:8384 { + transport http { + tls_insecure_skip_verify + } + } respond "ip range not allowed" + } } @laptoppcsyncthing host laptoppc-syncthing.akanealw.com handle @laptoppcsyncthing { handle @allowed { - reverse_proxy 192.168.1.12:8384 - } + reverse_proxy 192.168.1.12:8384 { + transport http { + tls_insecure_skip_verify + } + } respond "ip range not allowed" + } } @webmin host webmin.akanealw.com @@ -556,11 +573,11 @@ authentik.akanealw.com { reverse_proxy 192.168.1.30:8086 } -# @ host .akanealw.com -# handle @ { -# import auth -# reverse_proxy 192.168.1. -# } + @ittools host it-tools.akanealw.com + handle @ittools { + import auth + reverse_proxy 192.168.1.30:8383 + } }