omotam img

Skip to main content
  1. Posts/

Configure FrankenPHP

··39 words·1 min·
Configure FrankenPHP
Table of Contents

Common Patterns #

Matomo #

}
	frankenphp
	order php_server before file_server

	servers matomo.example.com {
		trusted_proxies static 1.2.3.4
	}
}

matomo.example.com {

	@private-dirs {
		path /config/*
		path /tmp/*
		path /lang/*
	}

	respond @private-dirs 403 {
		close
	}

	root * /var/www/matomo
	php_server
}