# Default FrankenPHP configuration for openSUSE
#
# Edit this file or drop additional configuration into /etc/frankenphp/conf.d/.
# See https://frankenphp.dev/docs/config/ for full reference.

{
	# Global options
	frankenphp
	order php_server before file_server

	# Disable automatic HTTPS by default. The package ships ready for HTTP on
	# port 8080; flip to ":443" and add `tls your@email` to enable Let's Encrypt.
	auto_https off
}

:8080 {
	root * /var/lib/frankenphp/www
	encode zstd br gzip

	php_server

	log {
		output file /var/log/frankenphp/access.log
		format console
	}
}
