Hello, I want to add few context paths on the same domain.
acl host_public hdr(host) -i public.example.mk
use_backend REGISTAR-REGISTRACIJA if host_public
acl is_publicroot path -i /
acl is_publicdomain hdr(host) -i public.example.mk
redirect code 301 location /farmakovigilanca-public-forms if is_publicroot is_publicdomain
acl is_public hdr(host) -i public.example.mk
acl is_notification path_beg -i /notification-api
use_backend REGISTAR-REGISTRACIJA if is_public is_notification
This is my code. I want to add /notification-api as a new context path, but it does not work. Am I missing something?
acl host_public hdr(host) -i public.example.mk
use_backend REGISTAR-REGISTRACIJA if host_public
acl is_publicroot path -i /
acl is_publicdomain hdr(host) -i public.example.mk
redirect code 301 location /farmakovigilanca-public-forms if is_publicroot is_publicdomain
acl is_public hdr(host) -i public.example.mk
acl is_notification path_beg -i /notification-api
use_backend REGISTAR-REGISTRACIJA if is_public is_notification
This is my code. I want to add /notification-api as a new context path, but it does not work. Am I missing something?