2025-01-01 17:45:42 +01:00

142 lines
2.5 KiB
Caddyfile

# Imposta il livello di log globale
{
log {
output file /var/log/caddy/access.log {
roll_size 10mb
roll_keep 20
roll_keep_for 720h
}
level INFO
}
}
https://www.ilnostropianetaselvaggio.it {
# Set this path to your site's directory.
root * /home/sistemostro/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
}
# 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
}
# LIBRE-TRANSLATE
https://translate.ilnostropianetaselvaggio.it {
reverse_proxy localhost:3011
}
# LINKWARDEN
https://link.ilnostropianetaselvaggio.it {
reverse_proxy localhost:3012
}
# BESZEL
https://server.ilnostropianetaselvaggio.it {
reverse_proxy localhost:3013
}
# GOT2SOCIAL
# https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/
https://social.ilnostropianetaselvaggio.it {
redir / /about 301
encode zstd gzip
reverse_proxy * localhost:3014 {
flush_interval -1
}
}
# FMD
https://fmd.ilnostropianetaselvaggio.it {
reverse_proxy localhost:3015
}
# MOLLY
https://molly.ilnostropianetaselvaggio.it {
reverse_proxy / localhost:8020
}
# 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
}
}
}