Add the www
This commit is contained in:
parent
b0440ddb79
commit
b34211c1bc
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ EnvironmentFile=-/data/domains/%i/env
|
||||||
Environment=HOSTNAME=%H
|
Environment=HOSTNAME=%H
|
||||||
WorkingDirectory=/data/domains/%i/
|
WorkingDirectory=/data/domains/%i/
|
||||||
ExecStartPre=-/opt/bin/docker-compose rm -f
|
ExecStartPre=-/opt/bin/docker-compose rm -f
|
||||||
ExecStart=/bin/bash -euxc "VIRTUAL_HOST=%i /opt/bin/docker-compose up"
|
ExecStart=/bin/bash -euxc "VIRTUAL_HOST=%i,www.%i /opt/bin/docker-compose up"
|
||||||
ExecStop=/opt/bin/docker-compose stop
|
ExecStop=/opt/bin/docker-compose stop
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue