more work on travis compatibility and nginx config