add ssl in production
fix a error