{ config, ... }:
	{
		locations."/" = {
			index = "index.php";
		};
		locations."~ \.php$" = {
			extraConfig = ''
				fastcgi_split_path_info ^(.+\.php)(/.+)$;
				fastcgi_pass unix:${config.services.phpfpm.pools.main.socket};
				fastcgi_index index.php;
			'';
		};
	}
