There is experimental patch for DTLS protocol. Give it a shot. http://nginx.org/patches/dtls/README.txt