docker-compose/caddy/Caddyfile
2025-03-02 17:49:56 +01:00

142 lines
2.2 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.novemila.org {
# Set this path to your site's directory.
root * /home/sistemostro/website/
# Enable the static file server.
file_server
}
https://novemila.org {
redir https://www.novemila.org{uri}
}
# VAULTWARDEN
https://vault.novemila.org {
reverse_proxy localhost:3001
}
# NTFY
https://ntfy.novemila.org {
reverse_proxy localhost:3003
}
# RSS
https://rss.novemila.org {
reverse_proxy localhost:3004
}
# COLLABORA
#https://code.ilnostropianetaselvaggio.it {
# encode gzip
# reverse_proxy localhost:3005 {
# transport http {
# tls_insecure_skip_verify
# }
# }
#}
# GITEA
https://git.novemila.org {
reverse_proxy localhost:3006
}
# KUMA
https://mon.novemila.org {
reverse_proxy localhost:3007
}
# CASTOPOD
https://podcast.novemila.org {
reverse_proxy localhost:3008
}
# NEXTCLOUD
https://admin.cloud.novemila.org {
reverse_proxy localhost:3010 {
transport http {
tls_insecure_skip_verify
}
}
}
https://cloud.novemila.org {
reverse_proxy localhost:11000
}
# LIBRE-TRANSLATE
https://translate.novemila.org {
reverse_proxy localhost:3011
}
# LINKWARDEN
https://link.novemila.org {
reverse_proxy localhost:3012
}
# BESZEL
https://server.novemila.org {
reverse_proxy localhost:3013
}
# GOT2SOCIAL
# https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/
https://social.novemila.org {
redir / /about 301
encode zstd gzip
reverse_proxy * localhost:3014 {
flush_interval -1
}
}
# FMD
https://fmd.novemila.org {
reverse_proxy localhost:3015
}
# MOLLY
https://molly.novemila.org {
reverse_proxy / localhost:8020
}
# SNIKKET
http://chat.novemila.org,
http://groups.chat.novemila.org,
http://share.chat.novemila.org {
reverse_proxy localhost:5080
}
chat.novemila.org,
groups.chat.novemila.org,
share.chat.novemila.org {
reverse_proxy https://localhost:5443 {
transport http {
tls_insecure_skip_verify
}
}
}