Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 592 Bytes

README.rst

File metadata and controls

25 lines (18 loc) · 592 Bytes

nginx-vrf-ext-module

NGINX support for the $request_vrf variable containing the incoming request's VRF name, based on the interface an incoming connection's socket is bound to. This is only supported on Linux kernels with VRF support and sysctl variable net.ipv4.tcp_l3mdev_accept set to 1.

Copyright © 2018 Green Communications ([email protected])

Example config

location / {
        if ($request_vrf = "vlan-42") {
                return 405;
        }

        ...
}