From 36b8fd55cd08a825443d3710467bd18de11faa95 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 30 Apr 2019 16:49:41 +0100 Subject: [PATCH] [Minor] Fix vault path --- lualib/lua_dkim_tools.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua index 3ef2eec30..d98ed10f9 100644 --- a/lualib/lua_dkim_tools.lua +++ b/lualib/lua_dkim_tools.lua @@ -562,8 +562,8 @@ exports.sign_using_vault = function(N, task, settings, selectors, sign_func, err local http = require "rspamd_http" local ucl = require "ucl" - local full_url = string.format('%s/v1/%s', - settings.vault_url, selectors.domain) + local full_url = string.format('%s/v1/%s/%s', + settings.vault_url, settings.vault_path or 'dkim', selectors.domain) local function vault_callback(err, code, body, _) if code ~= 200 then -- 2.39.5