2021-12-23 00:19:55 +08:00
|
|
|
#######################################
|
|
|
|
# Vhost
|
|
|
|
#######################################
|
|
|
|
|
2022-01-16 19:05:29 +08:00
|
|
|
<VirtualHost *:80 *:9000>
|
2021-12-23 00:19:55 +08:00
|
|
|
ServerName docker.vm
|
|
|
|
ServerAlias *.vm
|
|
|
|
DocumentRoot "/app/api/public"
|
|
|
|
<Directory /app/api/public>
|
|
|
|
Options FollowSymLinks MultiViews
|
|
|
|
AllowOverride All
|
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
|
|
|
</Directory>
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
<VirtualHost *:443>
|
|
|
|
ServerName docker.vm
|
|
|
|
ServerAlias *.vm
|
|
|
|
DocumentRoot "/app/api/public"
|
|
|
|
<Directory /app/api/public>
|
|
|
|
Options FollowSymLinks MultiViews
|
|
|
|
AllowOverride All
|
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
|
|
|
</Directory>
|
|
|
|
#SSLEngine on
|
|
|
|
#SSLCertificateFile /app/ssl/server.crt
|
|
|
|
#SSLCertificateKeyFile /app/ssl/server.key
|
|
|
|
</VirtualHost>
|