[dist] add example configs for Nginx
[api][webui] add use_nginx_redirect to support X-Accel-Redirect header for Nginx.