fixes for nginx config