Skip to content
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

Merged
merged 1 commit into from
Sep 7, 2017
Merged

doc: add notes on server urls with path #2045

merged 1 commit into from
Sep 7, 2017

Conversation

chulkilee
Copy link
Contributor

Description

Currently paths in server url is silently ignored, and it makes confusion (see #561 for example). Update the doc to address the limitation.

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ldez ldez left a 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).
Copy link
Contributor

@ldez ldez Sep 1, 2017

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

Copy link
Contributor Author

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 ldez added this to the 1.4 milestone Sep 6, 2017
@chulkilee chulkilee requested a review from a team as a code owner September 6, 2017 16:49
@chulkilee chulkilee changed the base branch from master to v1.4 September 6, 2017 16:50
@chulkilee
Copy link
Contributor Author

@ldez updated the target branch to v1.4.

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit 924e82a into traefik:v1.4 Sep 7, 2017
@chulkilee chulkilee deleted the doc-server-url branch October 29, 2022 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants