update sample for ngnix