add proxy configuration to nginx