add nginx configuration
Merge pull request #5 from pein0119/master

fix bug and add nginx configuration