fixes #88: moved nginx.conf generation to run.sh to configure redis, resolver, etc.
fixed lua nginx bug
fixed access_log nginx directive
missing semi-colon nginx