Blob Blame History Raw
commit 6dabd74991f54aa827bd38b7e1b50925620535ae
Author: Endi S. Dewata <edewata@redhat.com>
Date:   Thu Jan 5 07:28:51 2017 +0100

    Replaced default AJP hostname with generic loopback address.
    
    Previously the default AJP hostname was an IPv4 loopback address.
    To avoid problems in IPv6 environments the default has been
    changed to a generic "localhost" address. The man page has been
    updated accordingly.
    
    https://fedorahosted.org/pki/ticket/2570
    
    (cherry picked from commit 5ec9701229b4945cadcf60d84863521ad8485ca5)
    (cherry picked from commit 3a49b9b3738befc03914b0a96aad61f9650fb935)

diff --git a/base/server/etc/default.cfg b/base/server/etc/default.cfg
index 6e9b074..e79ff06 100644
--- a/base/server/etc/default.cfg
+++ b/base/server/etc/default.cfg
@@ -198,7 +198,7 @@ pki_subsystem_registry_link=%(pki_subsystem_path)s/registry
 ##               are MUTUALLY EXCLUSIVE entities!!!                          ##
 ###############################################################################
 [Tomcat]
-pki_ajp_host=127.0.0.1
+pki_ajp_host=localhost
 pki_ajp_port=8009
 pki_server_pkcs12_path=
 pki_server_pkcs12_password=
diff --git a/base/server/man/man5/pki_default.cfg.5 b/base/server/man/man5/pki_default.cfg.5
index aaf7b53..1eb4ab9 100644
--- a/base/server/man/man5/pki_default.cfg.5
+++ b/base/server/man/man5/pki_default.cfg.5
@@ -86,7 +86,7 @@ Ports for Tomcat subsystems.  Defaults to standard Tomcat ports of 8009 and 8005
 .TP
 .B pki_ajp_host
 .IP
-Host on which to listen for AJP requests.  Defaults to 127.0.0.1 to listen to local traffic only.
+Host on which to listen for AJP requests.  Defaults to localhost to listen to local traffic only.
 .TP
 .B pki_proxy_http_port, pki_proxy_https_port, pki_enable_proxy
 .IP