Add the aliases in the http section of the virtualhost too.

This commit is contained in:
Andrea Dell'Amico 2020-11-23 20:07:07 +01:00
parent 6d98de71b0
commit e4f15849a3
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ upstream wp {
server {
listen {{ http_port }};
## Your website name goes here.
server_name {{ item.virthost }};
server_name {{ item.virthost }} {{ item.virthost_aliases }};
## Your only path reference.
root {{ item.doc_root }};