Skip to content
Snippets Groups Projects
Commit 039fe2ef authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds LETSENCRYPT_HOST

parent 51fd8677
No related branches found
No related tags found
No related merge requests found
......@@ -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,www.%i /opt/bin/docker-compose up"
ExecStart=/bin/bash -euxc "LETSENCRYPT_HOST=%i VIRTUAL_HOST=%i,www.%i /opt/bin/docker-compose up"
ExecStop=/opt/bin/docker-compose stop
[Install]
......
  • Owner

    Is this only needed when you use nginx has the system proxy ?

  • Author Owner

    @freechelmi yup, but it could be a good idea to have the same on haproxy (:

    Edited by Pierre Ozoux
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment