Skip to content

Commit 29501d4

Browse files
authored
Clarify Traefik basic auth instructions
1 parent 712d9b3 commit 29501d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/knowledge-base/proxy/traefik/basic-auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Then you need to add the middleware to the router label, and since one or more m
7373

7474
For example you would update the current line
7575

76-
`traefik.http.routers.http-0-wc04wo4ow4scokgsw8wow4s8.middlewares=redirect-to-https`
76+
`traefik.http.routers.https-0-wc04wo4ow4scokgsw8wow4s8.middlewares=gzip`
7777

7878
to:
7979

@@ -126,4 +126,4 @@ This will generate a password hash for the user `test` with the password `test`.
126126
You can then replace `test` with the desired username and password. Then substitute the generated hash in the `basicauth.users` label above.
127127

128128
Note: the `htpasswd` command is available on most Linux distributions. It is part of the `apache2-utils` package on Debian/Ubuntu and
129-
can be found [here](https://httpd.apache.org/docs/current/programs/htpasswd.html).
129+
can be found [here](https://httpd.apache.org/docs/current/programs/htpasswd.html).

0 commit comments

Comments
 (0)