add static file with public key

This commit is contained in:
2026-02-10 20:01:18 +01:00
parent 4202c1123a
commit 6a027051e0

View File

@@ -2,9 +2,21 @@
handle_path /test/* { handle_path /test/* {
reverse_proxy host:12345 reverse_proxy host:12345
} }
handle_path /jellyfin/* { handle_path /jellyfin/* {
reverse_proxy host:8097 reverse_proxy host:8097
} }
handle /.well-known/appspecific/com.tesla.3p.public-key.pem {
header Content-Type text/x-pem-file
respond <<TXT
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhS5sHVP4YaWgVKAS0e/B/ObkA9lQ
6Whx4Z+VYHhZtP3hQQLtVDGG3e/2ncGTpyStQgLSi9Js3wr1GgoT/DNAsQ==
-----END PUBLIC KEY-----
TXT 200
}
log { log {
output file /var/log/root.log output file /var/log/root.log
} }