File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
provision/roles/boilerplate-main/templates Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1212
1313 UseCanonicalName Off
1414
15- Include /opt/docker/etc/httpd/vhost.common.conf
15+ <IfVersion < 2.4 >
16+ Include /opt/docker/etc/httpd/vhost.common.d/*.conf
17+ </IfVersion >
18+ <IfVersion >= 2.4>
19+ IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf
20+ </IfVersion >
1621</VirtualHost >
1722
1823<VirtualHost *:443 >
2126 DocumentRoot "{{ vhost.documentRoot|default('<DOCUMENT_ROOT>') }}"
2227
2328 UseCanonicalName Off
24- Include /opt/docker/etc/httpd/vhost.common.conf
29+
30+ <IfVersion < 2.4 >
31+ Include /opt/docker/etc/httpd/vhost.common.d/*.conf
32+ </IfVersion >
33+ <IfVersion >= 2.4>
34+ IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf
35+ </IfVersion >
36+
2537 Include /opt/docker/etc/httpd/vhost.ssl.conf
2638</VirtualHost >
2739
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ server {
3030 fastcgi_read_timeout 1000;
3131 }
3232
33- include /opt/docker/etc/nginx/vhost.common.conf;
33+ include /opt/docker/etc/nginx/vhost.common.d/*. conf;
3434}
3535
3636##############
@@ -62,7 +62,7 @@ server {
6262 fastcgi_read_timeout 1000;
6363 }
6464
65- include /opt/docker/etc/nginx/vhost.common.conf;
65+ include /opt/docker/etc/nginx/vhost.common.d/*. conf;
6666 include /opt/docker/etc/nginx/vhost.ssl.conf;
6767}
6868
You can’t perform that action at this time.
0 commit comments