Thank you Igor!! NGX is so powerful. It's working for me. Another question, for CA cert, I also need to verify PEM pass phase. Can I do it in NGX config? Thanks, Yanxin -- Posted via http://www.ruby-forum.com/.