adding aliases handling to nginx