webserver: pw protect some files
This commit is contained in:
parent
08817d93bc
commit
65cbb9b381
1 changed files with 5 additions and 1 deletions
|
@ -66,7 +66,11 @@ in
|
|||
extraConfig = ''
|
||||
redir /hedgedoc* https://hedgedoc.${domain}
|
||||
|
||||
file_server /*/* {
|
||||
basic_auth /justyna/202505_prt_teil1* {
|
||||
prt $2a$14$y7tZYZxTlJ2JFsBtRM.D8Ok0oHhWt53mGXk.xJMLXc/JF.bTtOWaq
|
||||
}
|
||||
|
||||
file_server /* {
|
||||
browse
|
||||
root /var/www/stefanjunker.de/htdocs/caddy
|
||||
pass_thru
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue