server {
	listen 80;
	listen [::]:80;
	server_name localhost;

	index index.php index.html;
	root /usr/share/postfixadmin/public;
	# hint: if you want a subpath setup like this (like the apache config):
	# make a symlink: /var/www/html/postfixadmin -> /usr/share/postfixadmin/public
	# and use the following line, instead of the one above:
	# root /var/www/html;

	location ~ \.php$ {
		fastcgi_pass unix:/run/php/php-fpm.sock;
		fastcgi_param HTTP_HOST $host;
		include snippets/fastcgi-php.conf;
	}
}
