Added endpoints to nginx redirection