尊龙凯时人生就是搏

nginxÄÜ·ñ¿´ä¯ÀÀÆ÷°æ±¾

ÊÇ £¬nginx¿ÉÒÔʹÓà $http_user_agent ±äÁ¿»ò ngx_http_useragent_module Ä £¿éÉó²éä¯ÀÀÆ÷°æ±¾ £¬´Ó¶ø»ñÈ¡ÓйØÇëÇó¿Í»§¶ËµÄÐÅÏ¢ £¬°üÀ¨ä¯ÀÀÆ÷°æ±¾¡£

nginxÄÜ·ñÉó²éä¯ÀÀÆ÷°æ±¾ £¿

ÊÇ £¬nginx¿ÉÒÔÉó²éä¯ÀÀÆ÷°æ±¾¡£

nginxÊÇÒ»¿îÆÕ±éʹÓõĿªÔ´webЧÀÍÆ÷ £¬ËüÌṩÁËÉó²éÇëÇóµÄä¯ÀÀÆ÷°æ±¾ÐÅÏ¢µÄÄÜÁ¦¡£Õâ¿ÉÒÔͨ¹ýʹÓÃÒÔÏÂÒªÁìʵÏÖ£º

ʹÓÃ$http_user_agent±äÁ¿

nginxÖеÄ$http_user_agent±äÁ¿°üÀ¨ÓйØÇëÇóµÄ¿Í»§¶ËµÄÐÅÏ¢ £¬°üÀ¨ä¯ÀÀÆ÷°æ±¾¡£Òª»ñÈ¡ä¯ÀÀÆ÷°æ±¾ £¬¿ÉÒÔʹÓÃÒÔÏÂÉèÖÃÖ¸Á

set $browser_version $http_user_agent;

µÇ¼ºó¸´ÖÆ

ʹÓÃngx_http_useragent_moduleÄ £¿é

ngx_http_useragent_moduleÊÇnginxµÄÒ»¸öÄ £¿é £¬ËüÌṩÁ˸ü¸ß¼¶µÄ¹¦Ð§À´ÆÊÎöºÍ´¦ÀíÓû§ÊðÀí×Ö·û´®¡£ÒªÊ¹ÓôËÄ £¿é £¬Ê×ÏÈÐèÒªÔÚnginxÉèÖÃÖмÓÔØËü£º

load_module modules/ngx_http_useragent_module.so;

µÇ¼ºó¸´ÖÆ

È»ºó £¬¿ÉÒÔʹÓÃÒÔÏÂÉèÖÃÖ¸Áî»ñÈ¡ä¯ÀÀÆ÷°æ±¾£º

user_agent_variable browser_version;

µÇ¼ºó¸´ÖÆ

ͨ¹ýʹÓÃÕâЩҪÁì £¬nginx¿ÉÒÔÇáËɵØÉó²éÇëÇóµÄä¯ÀÀÆ÷°æ±¾¡£Õâ¹ØÓÚʶ±ðä¯ÀÀÆ÷Ìض¨¹¦Ð§¡¢ÊµÑéÄÚÈÝЭÉÌ»ò¾ÙÐÐÍøÕ¾ÆÊÎöºÜÊÇÓÐÓá£

ÒÔÉϾÍÊÇnginxÄÜ·ñ¿´ä¯ÀÀÆ÷°æ±¾µÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ