{ admin off log { output stdout format json } } :7860 { header { X-Content-Type-Options "nosniff" X-Frame-Options "DENY" X-XSS-Protection "1; mode=block" } handle /health* { header Content-Type "application/json" respond `{"status":"ok","service":"hf-framework"}` } handle /api/* { reverse_proxy localhost:8000 } handle /example/* { uri strip_prefix /example reverse_proxy localhost:8001 } handle /webssh/* { uri strip_prefix /webssh reverse_proxy localhost:8002 } handle { header Content-Type "application/json; charset=utf-8" respond `{"name":"hf-framework","version":"0.1.0","status":"running"}` } }