Files
docker-compose/etc/caddy/Caddyfile

216 lines
3.4 KiB
Caddyfile

# The Caddyfile is an easy way to configure your Caddy web server.
# https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes
# The Caddyfile is an easy way to configure your Caddy web server.
# Format file
# caddy fmt /etc/caddy/Caddyfile --overwrite
# The Caddyfile is an easy way to configure your Caddy web server.
# Global Rules
{
log {
output file /var/log/caddy/access.log {
roll_size 10mb
roll_keep 20
roll_keep_for 720h
}
level INFO
}
}
(common) {
header /* {
-Server
}
}
https://www.novemila.org {
import common
encode gzip zstd
root * /home/sistemostro/novemila/
# Enable the static file server.
file_server
}
https://novemila.org {
redir https://www.novemila.org{uri}
redir /bypass https://git.novemila.org/novemila/bypassnro/releases/download/latest/bypass.cmd
}
# BEOPEN
https://beopen.novemila.org {
import common
encode gzip zstd
# Set this path to your site's directory.
root * /home/sistemostro/beopen/website/
# Enable the static file server.
file_server
}
# VAULTWARDEN
https://vault.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3001
}
# NTFY
https://ntfy.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3003
}
# RSS
https://rss.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3004
}
# COLLABORA
#https://code.novemila.org {
# encode gzip
# reverse_proxy localhost:3005 {
# transport http {
# tls_insecure_skip_verify
# }
# }
#}
# GITEA
https://git.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3006
}
# KUMA
https://mon.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3007
}
# NEXTCLOUD
https://admin.cloud.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3010 {
transport http {
tls_insecure_skip_verify
}
}
}
https://cloud.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:11000
}
# BESZEL
https://server.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3013
}
# GOT2SOCIAL
# https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/
https://social.novemila.org {
import common
encode gzip zstd
redir / /about 301
reverse_proxy * localhost:3014 {
flush_interval -1
}
}
# GLANCE
https://dashboard.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3016
}
# 4GET
https://search.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3017
}
# IMMICH
https://photo.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3018
}
# MAILCOW
mail.novemila.org autodiscover.novemila.org autoconfig.novemila.org {
log {
output file /var/log/caddy/mail.novemila.org.log {
roll_disabled
roll_size 512M
roll_uncompressed
roll_local_time
roll_keep 3
roll_keep_for 48h
}
}
import common
encode gzip zstd
reverse_proxy 127.0.0.1:3020
}
# LINKDING
https://linkding.novemila.org {
import common
encode gzip zstd
reverse_proxy localhost:3021
}
# MOLLY
https://molly.novemila.org {
import common
encode gzip zstd
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
# }
# }
#}