Prd/deploy/nginx-device-proxy-snippet.conf
Lucy Doupalů be9f14ce34 Helpdesk - operator console + patched GrapheneOS Dialer for call handling
A small helpdesk system: an office Pixel running a patched GrapheneOS Dialer
answers technician calls, records both call legs as separate channels, and a
Ruby backend transcribes them through Whisper and files an AI summary against
the caller.

Squashed to a single commit for sharing. No credentials are included; secrets
live outside the repo in /etc/helpdesk/env on the server or a gitignored
.claude/env.local locally. See .claude/env.local.example for the shape.

Start at README.md, then docs/architecture.md.
2026-07-27 18:50:32 +02:00

12 lines
655 B
Text

# Installed at /opt/nginx/conf/snippets/helpdesk-device-proxy.conf.
# Shared by the device-door locations. The two blanked headers are the security boundary:
# the 443 console proxy injects them AFTER verifying an operator's client cert; a certless
# caller on 8443 must never be able to supply them.
proxy_pass http://127.0.0.1:4000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Operator-Cert "";
proxy_set_header X-Proxy-Secret "";
proxy_read_timeout 75s; # covers the phone's command long-poll