Update nginx.conf

Bug fix in redirection