internetee-epp_proxy/config/sys.config
2025-04-14 16:09:53 +03:00

36 lines
1.6 KiB
Erlang

%% -*- erlang -*-
[
{epp_proxy, [
%% Enables or disable TCP connections without TLS (true/false)
{dev_mode, false},
%% TCP port, only available if dev_mode is set to true.
{tcp_port, 1700},
%% TLS port, specified in RFC to 700, but can be set to anything else
%% in case that is needed.
{tls_port, "${TLS_PORT}"},
%% When set to true, you can connect to EPP over HTTPS endpoints without
%% verifying their TLS certificates.
{insecure, false},
%% URL of EPP endpoints. Can be pointed at a web server (Apache/NGINX)
%% Can contain port (https://some-host:3000/epp/session)
%% Honors the prepended protocol (http / https).
{epp_session_url, "${EPP_SESSION_URL}"},
{epp_command_url, "${EPP_COMMAND_URL}"},
{epp_error_url, "${EPP_ERROR_URL}"},
%% Path to root CA that should check the client certificates.
{cacertfile_path, "${CACERT_PATH}"},
%% Path to server's certficate file.
{certfile_path, "${CERT_PATH}"},
%% Path to server's key file.
{keyfile_path, "${KEY_PATH}"},
%% Path to CRL file. When this option is undefined, no CRL check is performed.
{crlfile_path, "${CRL_PATH}"}]},
{lager, [
{handlers, [
{lager_console_backend, [{level, debug}]},
{lager_syslog_backend, ["epp_proxy", local0, debug]}
]}
]}
].