mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-03 00:30:18 +01:00
Fix README ssl vhost example formatting.
This commit is contained in:
parent
88b469048a
commit
155a98cd63
1 changed files with 4 additions and 4 deletions
|
@ -63,10 +63,10 @@ The `|` denotes a multiline scalar block in YAML, so newlines are preserved in t
|
||||||
No SSL vhosts are configured by default, but you can add them using the same pattern as `apache_vhosts`, with a few additional directives, like the following example:
|
No SSL vhosts are configured by default, but you can add them using the same pattern as `apache_vhosts`, with a few additional directives, like the following example:
|
||||||
|
|
||||||
apache_vhosts_ssl:
|
apache_vhosts_ssl:
|
||||||
- servername: "local.dev",
|
- servername: "local.dev"
|
||||||
documentroot: "/var/www/html",
|
documentroot: "/var/www/html"
|
||||||
certificate_file: "/home/vagrant/example.crt",
|
certificate_file: "/home/vagrant/example.crt"
|
||||||
certificate_key_file: "/home/vagrant/example.key",
|
certificate_key_file: "/home/vagrant/example.key"
|
||||||
certificate_chain_file: "/path/to/certificate_chain.crt"
|
certificate_chain_file: "/path/to/certificate_chain.crt"
|
||||||
extra_parameters: |
|
extra_parameters: |
|
||||||
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
||||||
|
|
Loading…
Reference in a new issue