Update example.conf
This commit is contained in:
@ -1,19 +1,24 @@
|
|||||||
|
|
||||||
certificate /var/cert/cert.pem
|
|
||||||
private_key /var/cert/cert.key
|
|
||||||
#geoip_dir /var/dir
|
#geoip_dir /var/dir
|
||||||
#dns_server 192.168.0.1
|
#dns_server 192.168.0.1
|
||||||
|
|
||||||
[localhost]
|
[cert cert1]
|
||||||
|
certificate /var/cert/cert.pem
|
||||||
|
private_key /var/cert/cert.key
|
||||||
|
|
||||||
|
[host localhost]
|
||||||
webroot /var/www/localhost
|
webroot /var/www/localhost
|
||||||
dir_mode forbidden
|
dir_mode forbidden
|
||||||
|
cert cert1
|
||||||
|
|
||||||
[me.local]
|
[host me.local]
|
||||||
hostname www.example.com
|
hostname www.example.com
|
||||||
port 80
|
port 80
|
||||||
|
cert cert1
|
||||||
http
|
http
|
||||||
|
|
||||||
[secure.local]
|
[host secure.local]
|
||||||
hostname www.example.com
|
hostname www.example.com
|
||||||
port 443
|
port 443
|
||||||
|
cert cert1
|
||||||
https
|
https
|
||||||
|
Reference in New Issue
Block a user