Add cache and basic setting for nginx