pushdeer/docker/web/vhost.conf

33 lines
837 B
Plaintext
Raw Normal View History

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>
2022-05-21 00:13:15 +08:00
# 配置 https
# 去掉下边三行的注释
2021-12-23 00:19:55 +08:00
#SSLEngine on
#SSLCertificateFile /app/ssl/server.crt
#SSLCertificateKeyFile /app/ssl/server.key
</VirtualHost>