1
0
mirror of https://github.com/containous/traefik.git synced 2025-08-24 09:49:31 +03:00

Fix typo in stripPrefix middleware docs

This commit is contained in:
Robert Barbey
2022-05-30 14:10:08 +02:00
committed by GitHub
parent 685962545a
commit 607faace07

View File

@ -87,7 +87,7 @@ The `prefixes` option defines the prefixes to strip from the request URL.
For instance, `/products` also matches `/products/shoes` and `/products/shirts`. For instance, `/products` also matches `/products/shoes` and `/products/shirts`.
If your backend is serving assets (e.g., images or JavaScript files), it can use the `X-Forwarded-Prefix` header to properly construct relative URLs. If your backend is serving assets (e.g., images or JavaScript files), it can use the `X-Forwarded-Prefix` header to properly construct relative URLs.
Using the previous example, the backend should return `/products/shoes/image.png` (and not `/images.png`, which Traefik would likely not be able to associate with the same backend). Using the previous example, the backend should return `/products/shoes/image.png` (and not `/image.png`, which Traefik would likely not be able to associate with the same backend).
### `forceSlash` ### `forceSlash`