Nginx: Fixed config file
Nginx: Fixed memory leakage
Merge pull request #49 from chaizhenhua/Bugfix

Fixed config and memory leakage