55 lines
919 B
Plaintext
55 lines
919 B
Plaintext
apache:
|
|
pkg.installed:
|
|
- name: apache2
|
|
|
|
apache_cgi_module:
|
|
apache_module.enabled:
|
|
- name: cgi
|
|
|
|
apache_cgid_module:
|
|
apache_module.enabled:
|
|
- name: cgid
|
|
|
|
apache_headers_module:
|
|
apache_module.enabled:
|
|
- name: headers
|
|
|
|
apache_include_module:
|
|
apache_module.enabled:
|
|
- name: include
|
|
|
|
apache_proxy_module:
|
|
apache_module.enabled:
|
|
- name: proxy
|
|
|
|
apache_proxy_http_module:
|
|
apache_module.enabled:
|
|
- name: proxy_http
|
|
|
|
apache_remoteip_module:
|
|
apache_module.enabled:
|
|
- name: remoteip
|
|
|
|
apache_rewrite_module:
|
|
apache_module.enabled:
|
|
- name: rewrite
|
|
|
|
apache_ssl_module:
|
|
apache_module.enabled:
|
|
- name: ssl
|
|
|
|
apache_disable_default_site:
|
|
apache_site.disabled:
|
|
- name: 000-default
|
|
|
|
apache_disable_default_ssl_site:
|
|
apache_site.disabled:
|
|
- name: default-ssl
|
|
|
|
apache_service:
|
|
service.running:
|
|
- name: apache2
|
|
- enable: True
|
|
- require:
|
|
- pkg: apache2
|