add localhost to nginx config