From b34211c1bcee08e935dfd9793923bb2ef6910b85 Mon Sep 17 00:00:00 2001 From: pierreozoux Date: Fri, 30 Jun 2017 11:51:54 +0100 Subject: [PATCH] Add the www --- unit-files/u@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit-files/u@.service b/unit-files/u@.service index 5100754..bead8bf 100644 --- a/unit-files/u@.service +++ b/unit-files/u@.service @@ -16,7 +16,7 @@ EnvironmentFile=-/data/domains/%i/env Environment=HOSTNAME=%H WorkingDirectory=/data/domains/%i/ 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 [Install]