{
	email {$MAIL_DOMAIN}
	key_type p384

	log {
		output file /data/logs/access.log {
			roll_size 1GiB
			roll_keep 20
			roll_keep_for 720h
		}
		format json
	}

    auto_https {$AUTO_HTTPS_OPTIONS}
}

# Common settings
import website/header.caddy
import website/authelia_middleware.caddy

# All website configurations
import website/main.caddy
import website/cyberchef.caddy
import website/forgejo.caddy
import website/homepage.caddy
import website/jellyfin.caddy
import website/memos.caddy
import website/openwebui.caddy
import website/privatebin.caddy
import website/psitransfer.caddy
import website/stirlingpdf.caddy
import website/transmission.caddy
import website/wordpress.caddy
import website/dufs.caddy
import website/it-tools.caddy
import website/omni-tools.caddy
import website/picoshare.caddy
import website/projectsend.caddy
import website/qbittorrent.caddy
import website/syncthing.caddy
import website/uptimekuma.caddy
import website/argus.caddy
import website/dependency-track.caddy
import website/searxng.caddy
import website/authelia.caddy
import website/dozzle.caddy
import website/litellm.caddy
import website/localai.caddy
import website/bentopdf.caddy
