File tree 2 files changed +16
-4
lines changed
provision/roles/boilerplate-main/templates
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 12
12
13
13
UseCanonicalName Off
14
14
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 >
16
21
</VirtualHost >
17
22
18
23
<VirtualHost *:443 >
21
26
DocumentRoot "{{ vhost.documentRoot|default('<DOCUMENT_ROOT>') }}"
22
27
23
28
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
+
25
37
Include /opt/docker/etc/httpd/vhost.ssl.conf
26
38
</VirtualHost >
27
39
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ server {
30
30
fastcgi_read_timeout 1000;
31
31
}
32
32
33
- include /opt/docker/etc/nginx/vhost.common.conf;
33
+ include /opt/docker/etc/nginx/vhost.common.d/*. conf;
34
34
}
35
35
36
36
##############
@@ -62,7 +62,7 @@ server {
62
62
fastcgi_read_timeout 1000;
63
63
}
64
64
65
- include /opt/docker/etc/nginx/vhost.common.conf;
65
+ include /opt/docker/etc/nginx/vhost.common.d/*. conf;
66
66
include /opt/docker/etc/nginx/vhost.ssl.conf;
67
67
}
68
68
You can’t perform that action at this time.
0 commit comments