fix redirects in nginx.conf