-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
183 lines (183 loc) · 6.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{#
# - item.name: ''
# Required. Name of the configuration, used for filename.
#
# - item.itk_user: ''
# Optional. Specify user the apache vhost will run as. Only for apache itk.
#
# - item.itk_group: ''
# Optional. Specify group the apache vhost will run as. Only for apache itk.
#
# - item.type: ''
# Optional. Specify name of the template to use to generate apache2
# server configuration. Templates can extend other templates.
#
# - item.host: ''
# Optional. Specify hostname of the server, default is ansible_hostname.
# item.host and item.domain specify the ServerName.
#
# - item.domain: ''
# Optional. Specify domain of the server, default is ansible_domain.
# item.host and item.domain specify the ServerName.
#
# - item.alias: []
# Optional. Specify additional aliases of the server. Example:
#
# alias:
# - 'www.example.com'
# - 'web01.example.com'
#
# - item.email: ''
# Optional: Specify server admin, default is 'webmaster@ansible_domain'.
#
# - item.document_root: ''
# Optional: Specify DocumentRoot, default is '/var/www/${HOST}${DOMAIN}'.
#
# - item.document_root_options: ''
# Optional: Set the Options in the Directory section of DocumentRoot,
# default is 'FollowSymLinks'.
#
# - item.document_root_allow_override: ''
# Optional: Set the AllowOverride in the Directory section of DocumentRoot,
# default is 'all'.
#
# - item.document_root_add_handler: ()
# Optional. Adding special AddHandlers.
#
# - item.document_root_additonal: ''
# Optional. Adding additional lines to the section directory DocumentRoot.
#
# - item.index: ''
# Optional. Specify directory index, like index.html.
#
# - item.proxy_pass: []
# Optional. ProxyPass incoming requests on HTTP port to different
# address. Example:
#
# proxy_pass:
# '/': 'http://localhost:8080/'
# '/admin/': 'http://localhost:8000/'
#
# - item.proxy_pass_ssl: []
# Optional. ProxyPass incoming requests on HTTPS port to different
# address. Example:
#
# proxy_pass_ssl:
# '/': 'http://localhost:8080/'
# '/admin/': 'http://localhost:8000/'
#
# - item.proxy_pass_sslengine: True/False
# Optional: Use SSLProxyEngine for reverse proxy on HTTP. Default False
#
# - item.proxy_pass_ssl_sslengine: True/False
# Optional: Use SSLProxyEngine for reverse proxy on HTTPS. Default False
#
# - item.redirect: []
# Optional. Redirect incoming requests on HTTP port to different address.
# Example:
#
# redirect:
# - src: '^/$'
# dest: 'http://www.example.com/'
# code: 'permanent'
# regex: True
# - src: '/admin/'
# dest: 'https://www.example.com/admin/'
# code: 'temporary'
#
# - item.redirect_ssl: []
# Optional. Redirect incoming requests on HTTPS port to different
# address. Example:
#
# redirect_ssl:
# - src: '^/$'
# dest: 'http://www.example.com/'
# code: 'permanent'
# regex: True
# - src: '/admin/'
# dest: 'https://www.example.com/admin/'
# code: 'temporary'
#
# - item.redirect_to_ssl: True/False
# Optional. If True, redirect connection from HTTP to HTTPS version of
# the site, default is true.
#
# - item.redirect_to_ssl_acme: True/False
# Optional. If True, redirect connection from HTTP to HTTPS would not
# be done, if requested URI is under the directory
# /.well-known/challenge/.
#
# - item.ssl: True/False
# Optional. Enable or disable HTTPS for this server configuration (HTTPS
# is enabled by default for all servers, you can disable it selectively
# using this option).
#
# - item.ssl_ca: ''
# Optional. Absolute path to CA SSL certificate to use.
#
# - item.ssl_crt: ''
# Optional. Absolute path to custom SSL certificate to use, If not
# supplied '/etc/ssl/local/${HOST}${DOMAIN}.pem' will be used instead.
#
# - item.ssl_key: ''
# Optional. Absolute path to custom SSL private key to use. If not
# supplied '/etc/ssl/local/${HOST}${DOMAIN}.key' will be used instead.
#
# - item.ssl_dhparam: ''
# Optional. Absolute path to custom DHE parameters to use. If not
# supplied '/etc/ssl/local/dhparam.pem' will be used instead.
#
# - item.ssl_protocol
# Optional. SSL Protocols to use.
#
# - item.ssl_ciphers: ''
# Optional. Preferred server ciphers to use.
#
# - item.keepalive: ''
# Optional. Set custom KeepAlive timeout for this server, in seconds.
#
# - item.listen: []
# Optional. List of ports, IP addresses or sockets this server
# configuration should listen on for HTTP connections. By default set to
# '[::]:80' for all servers.
#
# - item.listen_ssl: []
# Optional. List of ports, IP addresses or socnets this server
# configuration should listen on for HTTPS connections. By default set to
# '[::]:443' for all servers.
#
# - item.access_log: ''
# Optional. Name of the access log file in the '/var/log/apache2/'
# directory. The suffix '.log' will be added automatically. If not
# specified, apache2 role will use '<item.host>.<item.domain>_access'
# by default.
#
# - item.error_log: ''
# Optional. Name of the error log file in the '/var/log/apache2/'
# directory. The suffix '.log' will be added automatically. If not
# specified, apache2 role will use '<item.host>.<item.domain>_error'
# by default.
#
# - item.error_pages: {}
# Optional. Dict of error codes in string format as keys and
# corresponding error pages to display. Example:
#
# error_pages:
# '404': '/400.html'
# '502': '/500.html'
#
# - item.ssl_hsts: True
# Optional. If this is set to True and SSL is enabled for this item, the
# Strict-Transport-Security header is set in the server's responses. If
# this is set to false, the Strict-Transport-Security header will not
# be set in the server's responses.
#
# - item.ssl_hsts_age: '15768000'
# Optional. HTTP Strict-Transport-Security max age.
#
# - item.ssl_hsts_extra: ['includeSubDomains', 'preload']
# Optional. Enable addition HSTS options. To disable default, set to false.
#
# - item.ssl_use_stapling: True
# Optional. Use Online Certificate Status Protocol (OCSP).
#}