server {

  access_log  off;

  error_page 404 /index.html;

  location / {
      root /usr/share/nginx/html;
      try_files $uri $uri/ /index.html;
  }

  location /404 {
      root /usr/share/nginx/html;
      internal;
  }

  location ~ ./conf/([^\/]+)$ {
      absolute_redirect off;
      return 301 /conf/$1;
  }

}
