- require: | - require: | ||||
- pkg: apache | - pkg: apache | ||||
/etc/apache2/ports.conf: | |||||
file.absent: | |||||
- require: | |||||
- pkg: apache | |||||
{% endif %} #END: os = debian | {% endif %} #END: os = debian |
'ProxyRoute': site.get('ProxyRoute', {}), | 'ProxyRoute': site.get('ProxyRoute', {}), | ||||
} %} | } %} | ||||
Listen {{ vals.interface }}:{{ vals.port }} | |||||
<VirtualHost {{ vals.interface }}:{{ vals.port }}> | <VirtualHost {{ vals.interface }}:{{ vals.port }}> | ||||
ServerName {{ vals.ServerName }} | ServerName {{ vals.ServerName }} | ||||
{% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %} | {% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %} |
} %} | } %} | ||||
Listen {{ vals.interface }}:{{ vals.port }} | |||||
<VirtualHost {{ vals.interface }}:{{ vals.port }}> | <VirtualHost {{ vals.interface }}:{{ vals.port }}> | ||||
ServerName {{ vals.ServerName }} | ServerName {{ vals.ServerName }} | ||||
{% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %} | {% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %} |
}, | }, | ||||
} %} | } %} | ||||
Listen {{ vals.interface }}:{{ vals.port }} | |||||
<VirtualHost {{ vals.interface }}:{{ vals.port }}> | <VirtualHost {{ vals.interface }}:{{ vals.port }}> | ||||
ServerName {{ vals.ServerName }} | ServerName {{ vals.ServerName }} | ||||
{% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %} | {% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %} |