Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

naxsi whitelist rules on domain vhost #570

Closed
vncloudsco opened this issue Sep 23, 2021 · 2 comments
Closed

naxsi whitelist rules on domain vhost #570

vncloudsco opened this issue Sep 23, 2021 · 2 comments

Comments

@vncloudsco
Copy link

I'm using the software on a load balancer server that contains multiple vhosts, How do I whitelist only a specific domain in a file whitelist? I don't want to use each vhost to have a separate whitelist file, I want to merge them, is it possible? Currently I am configuring whitelist for all domains but there is a problem that domains have different api systems, so it is not possible to apply all the same rules to all domains.

@wargio
Copy link
Contributor

wargio commented Sep 23, 2021

i do not understand what you mean with "whitelist a domain", but you can create a file, fill it with whatever you need and use the NGINX directive include

@vncloudsco
Copy link
Author

@wargio
i have created a detailed issue here can you help me to solve it?
nbs-system/naxsi-rules#40

@mremande mremande closed this as completed Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants