aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/prosodyctl/check.lua45
1 files changed, 45 insertions, 0 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index 5383d6ba..ec67b31f 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -54,13 +54,42 @@ local function check(arg)
"vcard_compatibility",
});
local known_global_options = set.new({
+ "access_control_allow_credentials",
+ "access_control_allow_headers",
+ "access_control_allow_methods",
+ "access_control_max_age",
+ "admin_socket",
+ "body_size_limit",
+ "bosh_max_inactivity",
+ "bosh_max_polling",
+ "bosh_max_wait",
+ "buffer_size_limit",
+ "c2s_close_timeout",
+ "c2s_stanza_size_limit",
+ "c2s_tcp_keepalives",
+ "c2s_timeout",
+ "component_stanza_size_limit",
+ "component_tcp_keepalives",
+ "consider_bosh_secure",
+ "consider_websocket_secure",
+ "console_banner",
+ "console_prettyprint_settings",
+ "cross_domain_bosh",
+ "cross_domain_websocket",
"daemonize",
"gc",
"http_default_host",
+ "http_errors_always_show",
+ "http_errors_default_message",
+ "http_errors_detailed",
+ "http_errors_messages",
"installer_plugin_path",
"limits",
+ "limits_resolution",
"log",
+ "multiplex_buffer_size",
"network_backend",
+ "network_default_read_size",
"network_settings",
"pidfile",
"plugin_paths",
@@ -68,13 +97,29 @@ local function check(arg)
"prosodyctl_timeout",
"prosody_group",
"prosody_user",
+ "run_as_root",
+ "s2s_close_timeout",
+ "s2s_insecure_domains",
+ "s2s_require_encryption",
+ "s2s_secure_auth",
+ "s2s_secure_domains",
+ "s2s_stanza_size_limit",
+ "s2s_tcp_keepalives",
+ "s2s_timeout",
"statistics",
"statistics_config",
"statistics_interval",
+ "tcp_keepalives",
+ "trusted_proxies",
"umask",
+ "use_dane",
"use_ipv4",
"use_ipv6",
"use_libevent",
+ "websocket_frame_buffer_limit",
+ "websocket_frame_fragment_limit",
+ "websocket_get_response_body",
+ "websocket_get_response_text",
});
local config = configmanager.getconfig();
-- Check that we have any global options (caused by putting a host at the top)