Fixed nginx problems