heather: use native Jupyter password login instead of Caddy basic auth
This commit is contained in:
parent
49c8fdee83
commit
07bd059376
2 changed files with 8 additions and 11 deletions
|
|
@ -113,13 +113,9 @@ Allow: /" 200
|
|||
reverse_proxy 127.0.0.1:6767
|
||||
'';
|
||||
|
||||
# JupyterLab (ботать аналитику с iPad). Два слоя защиты:
|
||||
# Caddy basicauth (пароль в pass iscg.dev/jupyter/basicauth)
|
||||
# + Jupyter token внутри. Лимиты памяти/CPU в jupyter.nix.
|
||||
# JupyterLab: native login form (пароль хранится как bcrypt-хеш
|
||||
# в /var/lib/jupyter-secrets/jupyter.env), наружу только HTTPS.
|
||||
"jupyter.iscg.dev".extraConfig = ''
|
||||
basicauth {
|
||||
mikl $2a$14$u4jCpuLFeymewgx1uuGRs.6.L1JYf7vMtgwhU/Wvw5iuXJflynvSu
|
||||
}
|
||||
reverse_proxy 127.0.0.1:8890
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue