Skip to content

Commit 46a1a90

Browse files
committed
Add support for mappings with ports
This will ensure things don't break if openshift/origin#8490 is merged.
1 parent 8c54bde commit 46a1a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ FROM openshift/origin-haproxy-router
44
# Second line locks map files with paths to match the beginning of the URI
55
RUN sed -i \
66
-e '/os_\(reencrypt\|http_be\|edge_http_\(redirect\|be\|expose\)\)\.map/ s/map_beg/map_reg/' \
7-
-e 's/{{$cfg.Host}}{{$cfg.Path}} {{$idx}}/^&/' \
7+
-e 's/^{{$cfg.Host}}.*{{$cfg.Path}}/^&/' \
88
/var/lib/haproxy/conf/haproxy-config.template

0 commit comments

Comments
 (0)