http:// {
	root * /var/www/

	@notmedia {
      not path /media/*
   }

	@media {
		path /media/*
	}

	@health {
		path /health
	}

	@nothealth {
		not path /health
	}

	header @media {
		Cache-Control "public, max-age=604800, immutable"
		Access-Control-Allow-Origin *
	}

	encode @notmedia zstd gzip
	file_server browse

	# basicauth @nothealth {
	#	notroot JDJhJDE0JDlKUDlwYkdXclBETGhhN2szdDQyNnUyb0V5elV3QWNEM2JEU2E2Q1lsZmlFTS9pb2YyL1BD
	# }

	handle @health {
		respond 200
	}

	try_files {path} {path}.html {path}/index.html
}