get remote address from nginx first
disable not found prompt if debug mode is off