reports.secret-studio.ru {
    @mutable_index path / /latest /latest/ /latest/index.html /old /old/ /old/index.html
    header @mutable_index Cache-Control "no-store, no-cache, must-revalidate, max-age=0"

	encode zstd gzip

	@root path /
	redir @root /latest/ 302

	@latest_exact path /latest
	redir @latest_exact /latest/ 308

	handle_path /latest/* {
		root * /opt/router-ops/public/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/latest
		file_server
	}

	@old_exact path /old
	redir @old_exact /old/ 308

	handle_path /old/* {
		root * /opt/router-ops/public/r/e94a0859747d7b96f29c7fdafc2d0351ba603bb0a7e9e5a4/old
		file_server
	}

	handle /r/* {
		root * /opt/router-ops/public
		file_server
	}

	respond 404

	header {
		X-Robots-Tag "noindex, nofollow, noarchive"
		X-Content-Type-Options "nosniff"
		Referrer-Policy "no-referrer"
	}
}
