[nginx] Add posibility to rewrite template