mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-01 16:19:19 +08:00
33 lines
837 B
Plaintext
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>
|