mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
add alias
This commit is contained in:
parent
0aa6898218
commit
f91f6d418e
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName certbot.demo
|
||||
ServerAlias www.certbot.demo
|
||||
ServerAdmin webmaster@localhost
|
||||
|
||||
DocumentRoot /var/www-certbot-reworld/static/
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ def get_vh_truth(temp_dir, config_name):
|
|||
os.path.join(prefix, "certbot.conf"),
|
||||
os.path.join(aug_pre, "certbot.conf/VirtualHost"),
|
||||
set([obj.Addr.fromstring("*:80")]), False, True,
|
||||
"certbot.demo"),
|
||||
"certbot.demo", aliases=["www.certbot.demo"]),
|
||||
obj.VirtualHost(
|
||||
os.path.join(prefix, "mod_macro-example.conf"),
|
||||
os.path.join(aug_pre,
|
||||
|
|
|
|||
Loading…
Reference in a new issue