Refactor/nginx config