server {
    listen       80;
    listen  [::]:80;
    server_name  _;

    error_page   500 502 503 504  /50x.html;

    location / {
        root   /usr/share/nginx/osmosis/build;
        index index.html index.htm index.nginx-debian.html;

        # First attempt to serve request as file, then as html,
		# then as directory, then fall back to displaying a 404.
		try_files $uri $uri.html $uri/ /index.html =404;
    }
}
