User Tools

Site Tools


admin:embed_the_power_of_lua_into_nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
admin:embed_the_power_of_lua_into_nginx [2015/09/05 07:52] – [Testing] ryanadmin:embed_the_power_of_lua_into_nginx [2015/09/05 08:24] (current) – [Testing] ryan
Line 214: Line 214:
 ngx.header.content_type = 'text/plain'; ngx.header.content_type = 'text/plain';
 for k, v in pairs(headers) do for k, v in pairs(headers) do
-    print(string.format("%s\t%s: %s", base64(hmacdigest('sha256', v, k, true)), tostring(k)tostring(v)))+    print(string.format("%s\t%s: %s", base64(hmacdigest('sha256', v, k, true)), k, v))
 end end
 </file> </file>
admin/embed_the_power_of_lua_into_nginx.txt · Last modified: 2015/09/05 08:24 by ryan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki