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

	root /var/www/html/apt-repo;

	index index.html index.htm;

	server_name _;

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

	# Block access to reprepro database
	location /db/ {
		deny all;
	}

	# Block access to conf directory
	location /conf/ {
		deny all;
	}
}
