Path -> PathPrefixStrip

This commit is contained in:
Czechman 2022-11-28 04:49:08 +01:00
parent eace2b6f71
commit b5e59a8d02
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
[http.routers.utk]
rule = "Host(`utk.czechman.dynvpn.de`) && Path(`/`)"
rule = "Host(`utk.czechman.dynvpn.de`) && PathPrefixStrip(`/`)"
middlewares = ["utk"]
service = "service-utk"
[http.routers.utk.tls]
certResolver = "myresolver"
[https.routers.utk]
rule = "Host(`utk.czechman.dynvpn.de`) && Path(`/`)"
rule = "Host(`utk.czechman.dynvpn.de`) && PathPrefixStrip(`/`)"
middlewares = ["utk"]
service = "service-utk"