phantom-ship + vps-relay: declare bon service + vhost (port 8091)
bon — receipt scanner Mini App. Snap a receipt with the device camera,
upload, list. MVP only captures + stores; OCR/categorization later.
phantom-ship.nix
- systemd.services.bon on port 8091, binds :: for ZT
- 8091 added to zt+ allowedTCPPorts
- tmpfiles for /home/danny/.local/share/bon/{,images}
- python env adds python-multipart (form upload) + pillow (image
validate + downscale to 2400px JPEG)
vps-relay.nix
- Caddy vhost bon.dannydannydanny.me → ZT [::]:8091
This commit is contained in:
parent
73d4225f9b
commit
082529dac9
2 changed files with 43 additions and 5 deletions
|
|
@ -127,6 +127,11 @@
|
|||
"escapehormuz.dannydannydanny.me".extraConfig = ''
|
||||
reverse_proxy http://[fdd5:53a2:de33:d269:6499:936c:48a:bbdc]:8090
|
||||
'';
|
||||
# bon — receipt scanner Mini App, port 8091. Camera capture in
|
||||
# the WebView needs HTTPS, which Caddy terminates here.
|
||||
"bon.dannydannydanny.me".extraConfig = ''
|
||||
reverse_proxy http://[fdd5:53a2:de33:d269:6499:936c:48a:bbdc]:8091
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue