fix nginx config

depends on PR #2