server {
	listen 80 default_server;
	listen [::]:80 default_server ipv6only=on;

	root /var/www/first-run;
	index license.html;

	expires off;
	add_header Cache-Control 'max-age=0, must-revalidate';

	location ~* \.(css|js|js\.map|png|json|svg|jpg|pdf|gif|ttf|woff|woff2|eot|ico|txt) {
		# do not show index.html instead of these file types
	}

	location / {
		try_files $uri /license.html;
	}

	location /api/first-run {
       proxy_pass http://127.0.0.1:8888;
   }
}
