solving nginx problems