Ludovic Fernandez
|
a09dfa3ce1
|
Dynamic Configuration Refactoring
|
2018-11-14 10:18:03 +01:00 |
|
Daniel Tomcej
|
870755e90d
|
Extend https redirection tests, and fix incorrect behavior
|
2018-08-14 18:38:04 +02:00 |
|
Daniel Tomcej
|
91cafd1752
|
Correct Entrypoint Redirect with Stripped or Added Path
|
2018-07-31 11:28:03 +02:00 |
|
Marco Jantke
|
676b79db42
|
Fix raw path handling in strip prefix
|
2017-11-21 14:28:03 +01:00 |
|
Marco Jantke
|
fd70e6edb1
|
enable prefix matching within slash boundaries
|
2017-10-06 11:34:03 +02:00 |
|
Fernandez Ludovic
|
b6c5c14447
|
refactor: Enhance rules tests.
- refactor: change incorrect package.
- refactor: test readability.
|
2017-05-31 10:34:00 +02:00 |
|
Josh Toft
|
bc0121808a
|
Fix behavior for PathPrefixStrip
When pushing data to downstream proxies; malformed requests were being
sent.
The corrected behavior is as follows:
| Route Stripped | URL | Passed to Backend |
| ----------------- | ---------------------- | ------------------ |
| / | / | / |
| Route Stripped | URL | Passed to Backend |
| ----------------- | ---------------------- | ------------------ |
| /stat | /stat | / |
| /stat | /stat/ | / |
| /stat | /status | /status |
| /stat | /stat/us | /us |
| Route Stripped | URL | Passed to Backend |
| ----------------- | ---------------------- | ------------------ |
| /stat/ | /stat | /stat |
| /stat/ | /stat/ | / |
| /stat/ | /status | /status |
| /stat/ | /stat/us | /us |
Prior, we could strip the prefixing `/`, and we'd also ignore the case
where you want to serve something like `/api` as both the index and as a
subpath.
Additionally, this should resolve a myriad of issues relating to
kubernetes ingress `PathPrefixStrip`.
|
2017-05-24 10:50:12 +02:00 |
|
Martin Baillie
|
fa683fa7e4
|
Pass stripped prefix downstream as header
|
2017-04-16 19:24:26 +10:00 |
|
Emile Vauge
|
4d2c85ffdc
|
Fix multiple response.WriteHeader calls
Signed-off-by: Emile Vauge <emile@vauge.com>
|
2016-04-06 14:30:29 +02:00 |
|
Emile Vauge
|
8486766a60
|
Add multiple rules
Signed-off-by: Emile Vauge <emile@vauge.com>
|
2016-04-06 13:27:54 +02:00 |
|
Emile Vauge
|
8737530a7d
|
Refactor frontends rules
Signed-off-by: Emile Vauge <emile@vauge.com>
|
2016-03-31 13:11:07 +02:00 |
|