找到原因了不只是net_,os_,device_开头的一些参数,默认情况下nginx会自动drop所有带下划线的header需要设置 underscores_in_headers on;
If you do not explicitly set underscores_in_headers on;, nginx will silently drop HTTP headers with underscores (which are perfectly valid according to the HTTP standard). This is done in order to prevent ambiguities when mapping headers to CGI variables, as both dashes and underscores are mapped to underscores during that process.