diff --git a/board/common/rootfs/etc/nginx/restconf.app b/board/common/rootfs/etc/nginx/restconf.app index a7e337ea..7c8cadda 100644 --- a/board/common/rootfs/etc/nginx/restconf.app +++ b/board/common/rootfs/etc/nginx/restconf.app @@ -1,4 +1,5 @@ -location /restconf/ { +# /telemetry/optics is for streaming (not used atm) +location ~ ^/(restconf|yang|.well-known)/ { grpc_pass grpc://[::1]:10080; grpc_set_header Host $host; grpc_set_header X-Real-IP $remote_addr;