Add the aliases in the http section of the virtualhost too.
This commit is contained in:
parent
6d98de71b0
commit
e4f15849a3
|
@ -9,7 +9,7 @@ upstream wp {
|
||||||
server {
|
server {
|
||||||
listen {{ http_port }};
|
listen {{ http_port }};
|
||||||
## Your website name goes here.
|
## Your website name goes here.
|
||||||
server_name {{ item.virthost }};
|
server_name {{ item.virthost }} {{ item.virthost_aliases }};
|
||||||
## Your only path reference.
|
## Your only path reference.
|
||||||
root {{ item.doc_root }};
|
root {{ item.doc_root }};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue