nginx & mysql setup fixes