Hi Miloslav.

> Von: Miloslav Vlach
> Gesendet: Dienstag, 06. September 2016 07:30
> An: [email protected]
> Betreff: router host restrictions
>
> Hi all,
>
> I would like to ask if there is any option to secure the route.
>
> For example, in apache I have the host restriction - only some
> IP address or host are allowed to get the virtual host.
>
> Is there any option how to do this in openshift ?

You can try to adopt the template as described here
https://docs.openshift.org/latest/install_config/install/deploy_router.html#using-configmap-replace-template

The syntax for the acls in haproxy is described here

http://cbonte.github.io/haproxy-dconv/1.5/configuration.html#7

The ip matching is described here
http://cbonte.github.io/haproxy-dconv/1.5/configuration.html#7.1.6

An example for blocking specific ips can be found here
http://cbonte.github.io/haproxy-dconv/1.5/configuration.html#4.2-block
http://cbonte.github.io/haproxy-dconv/1.5/configuration.html#4.2-http-request

Hth
Aleks
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to