-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add notes on server urls with path #2045
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could change your PR to point to 1.4 branch?
Ask me if you need help.
docs/basics.md
Outdated
@@ -367,7 +367,7 @@ To use a different port for the healthcheck: | |||
|
|||
### Servers | |||
|
|||
Servers are simply defined using a `URL`. You can also apply a custom `weight` to each server (this will be used by load-balancing). | |||
Servers are simply defined using a `url`. Note that paths in `url` are not used when sending traffic to the servers; use `Modifer` to specify paths. You can also apply a custom `weight` to each server (this will be used by load-balancing). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you split this line to have one sentence by line?
And change like that:
Servers are simply defined using a `url`.
You can also apply a custom `weight` to each server (this will be used by load-balancing).
!!! note
that paths in `url` are not used when sending traffic to the servers; use `Modifer` to specify paths.
You can check the render of your PR here: https://deploy-preview-2045--traefik-docs.netlify.com/basics/#servers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just added !!! note
block, and kept the previous lines for minimal changes.
For other changes (like wrapping lines, removing trailing white space) I think it would be better to have separate PR.
@ldez updated the target branch to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Currently paths in server
url
is silently ignored, and it makes confusion (see #561 for example). Update the doc to address the limitation.