added Caddyfile

This commit is contained in:
piccihud 2024-12-08 14:53:32 +01:00
parent a8f15f6a63
commit 0e112baf4f

112
caddy/Caddyfile Normal file
View File

@ -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
}
}
}