linux:webhosting
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:webhosting [2023/05/15 12:26] – [Generate Credentials] admin | linux:webhosting [2026/10/25 15:43] (current) – gsys | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| ==== Generate Credentials ==== | ==== Generate Credentials ==== | ||
| + | :!: insecure default MD5 | ||
| < | < | ||
| - | htpasswd -n werner | + | htpasswd -n testuser |
| - | # on standard output rather than updating a file | + | # on standard output rather than updating a file |
| - | htpasswd -c ~/ | + | htpasswd -c ~/ |
| - | htpasswd ~/ | + | htpasswd ~/ |
| + | </ | ||
| + | |||
| + | :-) secure bcrypt | ||
| + | < | ||
| + | htpasswd -nBC 10 testuser | ||
| + | # -n Show ouput on stdout | ||
| + | # | ||
| + | # -C 10 | ||
| </ | </ | ||
| === Traefik === | === Traefik === | ||
| - | ** Don't forget to escape dollar signs ($ -> $$) in traefik docker compose files! ** | + | **Don' |
| use this command: | use this command: | ||
linux/webhosting.1684146395.txt.gz · Last modified: (external edit)