Answer the question
In order to leave comments, you need to log in
Traefik Reverse proxy how to set up?
Good afternoon, I decided to try Traefik as part of the test and did not quite understand how to configure it.
After reading the doc, I did not quite understand how this is done? do not tell
me The essence of the question, I want to configure a reverse proxy as in nginx when you stupidly prescribe:
location /w{
proxy_pass http://ip
}
location /s{
proxy_pass http://ip
}
debug = true
logLevel = "DEBUG"
defaultEntryPoints = ["httpSSL"]
[web]
address = ":80"
[entryPoints]
[entryPoints.httpSSL]
address = ":443"
[entryPoints.httpSSL.tls]
[providers]
[providers.file]
filename = "conf.toml"
[file]
[http]
[http.routers]
[http.routers.my-test]
rule = "PathPrefix(`/`)"
service = "test"
[http.services]
[http.services.test.loadBalancer]
url = "http://192.xxx.xxx.xxx"
Answer the question
In order to leave comments, you need to log in
I assume that you need to google "traefik setup", and read articles, for example, directly on habr.com.
Already in the second article in the issuance of Google, I found the answer to your question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question