Update functions.php

apache_request_headers for nginx