Skip to content

Commit

Permalink
Adapt to Lua API changes in HAProxy 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Broer committed Dec 31, 2015
1 parent d55d065 commit ecd4059
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ No need to leverage a backend webserver for the trivial task of serving a key au

### Prerequesites

You need to be rolling HAProxy version 1.6 or later with Lua support enabled.
You need to be rolling HAProxy version `1.6.3` or later with Lua support enabled.
To check if your HAProxy binary was compiled with Lua support run the following command:

haproxy -vv
Expand Down
4 changes: 2 additions & 2 deletions acme-http01-webroot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
--

acme = {}
acme.version = "0.1.0"
acme.version = "0.1.1"

--
-- Configuration
Expand All @@ -47,7 +47,7 @@ end
--
acme.http01 = function(applet)
local response = ""
local reqPath = applet.sf:path()
local reqPath = applet.path
local src = applet.sf:src()
local token = reqPath:match( ".+/(.*)$" )

Expand Down

0 comments on commit ecd4059

Please sign in to comment.