From 0e112baf4ffb261490dfd3954c3dc47ab2c8dcf4 Mon Sep 17 00:00:00 2001 From: piccihud Date: Sun, 8 Dec 2024 14:53:32 +0100 Subject: [PATCH] added Caddyfile --- caddy/Caddyfile | 112 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 caddy/Caddyfile diff --git a/caddy/Caddyfile b/caddy/Caddyfile new file mode 100644 index 0000000..46c3cc4 --- /dev/null +++ b/caddy/Caddyfile @@ -0,0 +1,112 @@ +# The Caddyfile is an easy way to configure your Caddy web server. + +https://www.ilnostropianetaselvaggio.it { + # Set this path to your site's directory. + root * /path/to/website/ + + # Enable the static file server. + file_server +} + +https://ilnostropianetaselvaggio.it { + redir https://www.ilnostropianetaselvaggio.it{uri} +} + +# VAULTWARDEN + +https://vault.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3001 +} + +# NTFY + +https://ntfy.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3003 +} + +# RSS + +https://rss.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3004 +} + +# COLLABORA + +https://code.ilnostropianetaselvaggio.it { + encode gzip + reverse_proxy localhost:3005 { + transport http { + tls_insecure_skip_verify + } + } +} + +# GITEA + +https://git.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3006 +} + +# KUMA + +https://mon.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3007 +} + +# CASTOPOD + +https://podcast.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3008 +} + +# MEMOS + +https://memo.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3009 +} + +# NEXTCLOUD + +https://admin.cloud.ilnostropianetaselvaggio.it { + reverse_proxy localhost:3010 { + transport http { + tls_insecure_skip_verify + } + } +} + +https://cloud.ilnostropianetaselvaggio.it:443 { + reverse_proxy localhost:11000 +} + +# MOLLY + +https://molly.ilnostropianetaselvaggio.it { + reverse_proxy / localhost:8020 +} + +# GOT2SOCIAL +https://social.ilnostropianetaselvaggio.it { + encode zstd gzip + reverse_proxy * localhost:8080 { + flush_interval -1 + } +} + +# SNIKKET + +http://chat.ilnostropianetaselvaggio.it, +http://groups.chat.ilnostropianetaselvaggio.it, +http://share.chat.ilnostropianetaselvaggio.it { + reverse_proxy localhost:5080 +} + +chat.ilnostropianetaselvaggio.it, +groups.chat.ilnostropianetaselvaggio.it, +share.chat.ilnostropianetaselvaggio.it { + reverse_proxy https://localhost:5443 { + transport http { + tls_insecure_skip_verify + } + } +} \ No newline at end of file