Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Richter committed Nov 30, 2018
1 parent 177691b commit ac55f9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vars/apache-24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ apache_default_vhost_filenames:
- autoindex.conf

apache_ports_configuration_items:
# Debian/Ubuntu and RedHat/CentOS/Amazon Linux Regex for http
# Debian/Ubuntu and RedHat/CentOS/Amazon Linux Regex for http
- {
regexp: "^Listen\\s+\\d+$",
line: "Listen {{ apache_listen_port }}"
}
# RedHat/CentOS 7, Amazon Linux
# RedHat/CentOS 7, Amazon Linux
- {
regexp: "^Listen\\s+\\d+\\s+https$",
replace: "Listen {{ apache_listen_port_ssl }} https"
}
# Debian, SUSE
# Debian, SUSE
- {
regexp: "^(\\s*<IfModule\\s+.+>(?:\\n+\\s+#.+)*\\s+)Listen\\s+\\d+",
replace: "\\1Listen {{ apache_listen_port_ssl }}"
}
# SUSE
# SUSE
- {
regexp: "^(# - name-based virtual hosting:\\n(?:#\\n)*)#?\\s*NameVirtualHost\\s+.*:\\d+",
replace: "\\1NameVirtualHost {{ apache_listen_ip }}:{{ apache_listen_port }}"
Expand Down

0 comments on commit ac55f9b

Please sign in to comment.