aboutsummaryrefslogtreecommitdiff
path: root/srcs/conf/test.com
blob: cf734e189d233dda9ccc49de99ff4026d3409e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
server {
	listen 80;
	root /var/www/html;
	index index.php;
	server_name test.com;

	location / {
		try_files $uri $uri/ =404;
	}

	location ~ \.php$ {
		include snippets/fastcgi-php.conf;
		fastcgi_pass
			unix:/var/run/php/php7.2-fpm.sock;
	}

	location ~ /\.ht {
		deny all;
	}
}