# Default server, Ubuntu layout: edit this file or drop your own into
# /etc/nginx/sites-available and symlink it into /etc/nginx/sites-enabled.

server {
	listen 80 default_server;
	listen [::]:80 default_server;

	root /var/www/html;
	index index.html index.htm index.nginx-codeit.html;

	server_name _;

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

	# Pass PHP scripts to a FastCGI server.
	#
	#location ~ \.php$ {
	#	include snippets/fastcgi-php.conf;
	#	fastcgi_pass unix:/run/php/php-fpm.sock;
	#}

	# Deny access to .htaccess files, should a document root be shared with
	# Apache.
	#
	#location ~ /\.ht {
	#	deny all;
	#}
}
