Skip to content

Commit

Permalink
fix traefik Host rule
Browse files Browse the repository at this point in the history
  • Loading branch information
devosc committed Apr 18, 2020
1 parent 3d58458 commit 10803a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker-create-project
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function create_docker_compose_file()
rm "${compose_file}.bak"

echo "Host: ${host}"
sed -i.bak "s#rule=Host(.*#rule=Host(\\\`${host}\\\`)#g" "${compose_file}"
sed -i.bak "s#rule=Host(.*#rule=Host(\\\`${host}\\\`)\\\"#g" "${compose_file}"
rm "${compose_file}.bak"

echo "Document root: ${document_root}"
Expand Down

0 comments on commit 10803a0

Please sign in to comment.