mirror of
https://github.com/umputun/reproxy.git
synced 2025-02-16 18:34:30 +02:00
fix docker's labels max, make it include .9 for real
This commit is contained in:
parent
2cd32609e9
commit
22063f08cd
@ -86,7 +86,7 @@ func (d *Docker) List() ([]discovery.URLMapper, error) {
|
||||
// parseContainerInfo getting URLMappers for up to 10 routes for 0..9 N (reproxy.N.something)
|
||||
func (d *Docker) parseContainerInfo(c containerInfo) (res []discovery.URLMapper) {
|
||||
|
||||
for n := 0; n < 9; n++ {
|
||||
for n := 0; n <= 9; n++ {
|
||||
enabled, explicit := false, false
|
||||
srcURL := fmt.Sprintf("^/%s/(.*)", c.Name) // default src is /container-name/(.*)
|
||||
if d.APIPrefix != "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user