Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions nix/hosts/homeserver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ let
# RecallVault's iPhone client authenticates with its own bearer token, so this
# machine endpoint must not be placed behind the browser-oriented Authelia flow.
recall.upstream = "${macmini}:8766";
# Orca の Web クライアント (macmini の常駐ランタイム)。スマホから使うために TLS が要る:
# 平文 HTTP + 生 IP は secure context ではないので、起動時に
# `crypto.randomUUID is not a function` で落ちる。tailscale serve が同じものを
# https://macmini.tail079f44.ts.net に出しているが、MagicDNS がこのネットワークの
# 端末で解決できていない (ts.net の split route が OS に効かない) ので、
# 既に実績のある gapul.net 側に寄せる。
#
# Authelia は挟まない。ページ自体は開けても、ランタイムはペアリングコードの
# デバイストークンを持たないクライアントを受け付けない。つまり入口の鍵は
# 既にコード側にあり、vhost は tailnet 内からしか引けない。
orca.upstream = "${macmini}:6768";
sync = {
upstream = "127.0.0.1:8384"; # syncthing rejects requests whose Host it doesn't know
extra = "header_up Host {upstream_hostport}";
Expand Down
Loading