change nginx script to redirect http requests