Skip to content

Commit 56e12ad

Browse files
committed
Update docker-entrypoint.sh
1 parent 6c83f00 commit 56e12ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

haproxy/docker-entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3-
3+
#fix variable _name to not have /
4+
export FRONTEND_NAME="${FRONTEND_NAME//\//}"
5+
export BACKEND_NAME="${BACKEND_NAME//\//}"
46

57
# haproxy not directly configured within /usr/local/etc/haproxy/haproxy.cfg
68
if ! test -e /usr/local/etc/haproxy/haproxy.cfg; then

0 commit comments

Comments
 (0)