ring fixes
nginx config