create simple 502 page for nginx, pull nginx's port config from settings