heather: add JupyterLab systemd service (jupyter.iscg.dev, localhost:8890, resource limits, caddy basicauth)
This commit is contained in:
parent
a293f1f999
commit
d4153028d6
3 changed files with 78 additions and 0 deletions
|
|
@ -113,6 +113,16 @@ Allow: /" 200
|
|||
reverse_proxy 127.0.0.1:6767
|
||||
'';
|
||||
|
||||
# JupyterLab (ботать аналитику с iPad). Два слоя защиты:
|
||||
# Caddy basicauth (пароль в pass iscg.dev/jupyter/basicauth)
|
||||
# + Jupyter token внутри. Лимиты памяти/CPU в jupyter.nix.
|
||||
"jupyter.iscg.dev".extraConfig = ''
|
||||
basicauth {
|
||||
mikl $2a$14$u4jCpuLFeymewgx1uuGRs.6.L1JYf7vMtgwhU/Wvw5iuXJflynvSu
|
||||
}
|
||||
reverse_proxy 127.0.0.1:8890
|
||||
'';;
|
||||
|
||||
# File explorer (directory listing) для раздачи файлов через браузер.
|
||||
# browse включает Caddy's built-in directory listing. Корень /var/www/pub.
|
||||
# Без auth — класть только публичные файлы.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue