roles/apache: Role to deploy Apache HTTPD
The *apache* role installs and configures the Apache HTTPD server and its *mod_ssl* module. It currently only works on Fedora/RHEL-based distributions.
This commit is contained in:
12
roles/apache/templates/servername.httpd.conf.j2
Normal file
12
roles/apache/templates/servername.httpd.conf.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# 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 %}
|
||||
Reference in New Issue
Block a user