aboutsummaryrefslogtreecommitdiff
path: root/srcs/conf/test.com
blob: 2331b3bdfd8ab3592afb9ced5dba433eb95e77f5 (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 index.html index.htm index.nginx-debian.html;
	server_name test.com;

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

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

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