1、編譯openresty時需要增加模塊 --with-http_sub_module
2、修改nginx配置文件,測試將</head> 替換爲 '<script src="http://libs.baidu.com/jquery/2.0.2/jquery.min.js"></script></head>'
效果如下
1、編譯openresty時需要增加模塊 --with-http_sub_module
2、修改nginx配置文件,測試將</head> 替換爲 '<script src="http://libs.baidu.com/jquery/2.0.2/jquery.min.js"></script></head>'
效果如下