How do I block inband registration for an of two vhost?
I tried something like:
register:
- deny:
- server: "support.mydomain"
- allow:
- server: "public.mydomain"inside of access_rules
and something like:
host_config:
"public.mydomain":
access_rules:
- register:
- allow
"support.mydomain":
access_rules:
- register:
- denyBut none of these works, I can create accounts on both.
This works for me: hosts:
This works for me:
hosts: - "private.localhost" - "public.localhost" acl: publicserver: server: - "public.localhost" privateserver: server: - "private.localhost" access_rules: register: - deny: privateserver - allow: publicserver modules: mod_register: access: registerThanks it really worked for
Thanks it really worked for me