-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvhost.conf
More file actions
43 lines (35 loc) · 954 Bytes
/
vhost.conf
File metadata and controls
43 lines (35 loc) · 954 Bytes
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
<VirtualHost *:80>
ServerName hiko.test
ServerAlias *.hiko.test
DocumentRoot "/var/www/html/public"
UseCanonicalName Off
<Directory "/var/www/html/public">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfVersion < 2.4>
Include /opt/docker/etc/httpd/vhost.common.d/*.conf
</IfVersion>
<IfVersion >= 2.4>
IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf
</IfVersion>
</VirtualHost>
<VirtualHost *:443>
ServerName hiko.test
ServerAlias *.hiko.test
DocumentRoot "/var/www/html/public"
UseCanonicalName Off
<Directory "/var/www/html/public">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfVersion < 2.4>
Include /opt/docker/etc/httpd/vhost.common.d/*.conf
</IfVersion>
<IfVersion >= 2.4>
IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf
</IfVersion>
Include /opt/docker/etc/httpd/vhost.ssl.conf
</VirtualHost>