You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use docker 1.13 rc7, with a docker-compose file and the docker stack deploy command
This create a service (swarm mode) named
<stack>_<service>
What did you expect to see?
I want traefik create a frontend rule like
<stack>-<service>.<default_domain>
What did you see instead?
Traefik take the service name, so
<stack>_<service>.<default_domain>
So what can we do?
Can traefik change the underscore to hyphen in the normalize process ?
Cause underscores are not valid URI character
See https://tools.ietf.org/html/rfc1035
<domain> ::= <subdomain> | " "
<subdomain> ::= <label> | <subdomain> "." <label>
<label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]
<ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>
<let-dig-hyp> ::= <let-dig> | "-"
<let-dig> ::= <letter> | <digit>
<letter> ::= any one of the 52 alphabetic characters A through Z in
upper case and a through z in lower case
<digit> ::= any one of the ten digits 0 through 9
Thanx for reading
The text was updated successfully, but these errors were encountered:
WTFKr0
changed the title
Normalize auto generated frtonend-rule (docker)
Normalize auto generated frontend-rule (docker)
Jan 19, 2017
What version of Traefik are you using (
traefik version
)?Version: v1.1.2
Codename: camembert
Go version: go1.7.4
Built: 2016-12-15_10:21:15AM
OS/Arch: linux/amd64
What is your environment & configuration (arguments, toml...)?
What did you do?
I use docker 1.13 rc7, with a docker-compose file and the docker stack deploy command
This create a service (swarm mode) named
What did you expect to see?
I want traefik create a frontend rule like
What did you see instead?
Traefik take the service name, so
So what can we do?
Can traefik change the underscore to hyphen in the normalize process ?
Cause underscores are not valid URI character
See https://tools.ietf.org/html/rfc1035
Thanx for reading
The text was updated successfully, but these errors were encountered: