mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
nginx: forward /yang and /.well-known as well to restconf agent
We skip /telemetry/optics for now since we don't support any telementry atm. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Mattias Walström
parent
a37dd412e1
commit
78153e62cf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user