Page MenuHomeVyOS Platform

load-balancing reverse-proxy can't configure root as a redirect
Closed, ResolvedPublicBUG

Description

The below config setting should be valid, I can edit the haproxy.cfg to set it this way and it works as expected.

This is to allow redirects of

https://hostname.blah.com/

to

https://hostname.blah.com/app

corey@router# set load-balancing reverse-proxy backend cacti rule 10 url-path exact /



  Incorrect URL format
  Value validation failed
  Set failed

[edit]

Thanks

Details

Difficulty level
Unknown (require assessment)
Version
1.5-rolling-202401200023
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

Viacheslav renamed this task from load-balancing can't configure root as a redirect to load-balancing reverse-proxy can't configure root as a redirect.Jan 29 2024, 8:51 AM
Viacheslav triaged this task as Normal priority.

I put together a PR for this https://github.com/vyos/vyos-1x/pull/2908. I just edited this in github, I was kind of hoping that a workflow would run the smoketests, but I'm not sure that is the case. Either way I'll try pulling the code local and see what I can figure out.

Viacheslav assigned this task to cleopold73.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.