# Sito di ProactiveProject — configurazione di Caddy
# SPDX-License-Identifier: GPL-3.0-or-later

proactiveproject.eu {
	root * /var/www/proactiveproject
	file_server
	encode zstd gzip
	header {
		Strict-Transport-Security "max-age=31536000"
		X-Content-Type-Options "nosniff"
		Referrer-Policy "no-referrer"
		X-Frame-Options "DENY"
		-Server
	}
	@testo path /agenda/server/*
	header @testo Content-Type "text/plain; charset=utf-8"

}

www.proactiveproject.eu {
	redir https://proactiveproject.eu{uri} permanent
}
