configpolicy/roles/apache/templates/servername.httpd.conf.j2

13 lines
418 B
Django/Jinja

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
{% if apache_server_name is defined %}
ServerName {{ apache_server_name }}
{% else %}
#ServerName www.example.com:80
{% endif %}