# HG changeset patch # User Kim Alvefur # Date 1622113758 -7200 # Node ID 1b17b967838e24806180f5a6cd087f98b81cb47c # Parent a6c87b4c0cdfa8e698290fbfd7d4cab0f8d1dc7c util.prosodyctl.check: Collect options from all global plugins diff -r a6c87b4c0cdf -r 1b17b967838e util/prosodyctl/check.lua --- a/util/prosodyctl/check.lua Thu May 27 13:07:57 2021 +0200 +++ b/util/prosodyctl/check.lua Thu May 27 13:09:18 2021 +0200 @@ -54,13 +54,42 @@ "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 @@ "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)