File: postfixadmin.conf

package info (click to toggle)
postfixadmin 4.0.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,888 kB
  • sloc: php: 12,256; perl: 1,156; sh: 717; python: 142; xml: 63; sql: 3; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
	}
}