add cookie buffer to nginx