mod_s2s_auth_dane: Disable now redundant validation done in trunk
Outgoing connections can now be validated natively in trunk since
a38f9e09ca31 so we only need to check incoming connections.
local mime_map = module:shared("/*/http_files/mime").types or {
css = "text/css",
js = "application/javascript",
};
local serve;
if not pcall(function ()
local http_files = require "net.http.files";
serve = http_files.serve;
end) then
serve = module:depends"http_files".serve;
end
local libjs_path = module:get_option_string("libjs_path", "/usr/share/javascript");
module:provides("http", {
default_path = "/share";
route = {
["GET /*"] = serve({ path = libjs_path, mime_map = mime_map });
}
});