pushdeer/docker/web/vhost.conf
2022-05-21 00:13:15 +08:00

33 lines
837 B
Plaintext

#######################################
# Vhost
#######################################
<VirtualHost *:80 *:9000>
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>
# 配置 https
# 去掉下边三行的注释
#SSLEngine on
#SSLCertificateFile /app/ssl/server.crt
#SSLCertificateKeyFile /app/ssl/server.key
</VirtualHost>