Adds a goto directive to nginx