ws

parent e1b584f1
validemail = require "valid-email"
resolver = require "nginx.dns.resolver"
random = require "nginx.random"
str = require "nginx.string"
json = require "json"
digest = require "openssl.digest"
pkey = require "openssl.pkey"
hmac = require "openssl.hmac"
function base64url_encode (s)
local s64 = ngx.encode_base64(s)
return s64:gsub("+", "-"):gsub("/", "_"):gsub("=", "")
......@@ -17,15 +26,6 @@ function proxy_url (url)
return "/.portier/proxy/" .. scheme .. "/" .. rest
end
validemail = require "valid-email"
resolver = require "nginx.dns.resolver"
random = require "nginx.random"
str = require "nginx.string"
json = require "json"
digest = require "openssl.digest"
pkey = require "openssl.pkey"
hmac = require "openssl.hmac"
broker = assert(os.getenv("PORTIER_BROKER"))
nameservers_str = assert(os.getenv("PORTIER_NAMESERVERS"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment