Closed linxisp closed 6 years ago
Hello,
In your example, /etc/nginx/naxsi/basic/bla-whitelist.rules
won't be included /etc/nginx/naxsi/*.rules
.
That might be why the whitelist doesn't work
Hello Buixor, I thought about that but i'm getting logs for naxsi rules included in the subfolders. How can that be possible if the rules arent included? Thank you
Please try to put all the configuration in the same file to see, but it really sounds like this. Or else, can you please provide a reproducible usecase ?
cheers,
Hello
We are using nginx with naxsi for sometime and we find the need to whitelist a few rules. At the moment we are dealing with the following:
We are using a default config:
I have created a new file:
/etc/nginx/naxsi/basic/bla-whitelist.rules
For testing I added whitelist completely for rule 1200 and 42000339 by adding the following to the file:
But this is not working and i keep getting the blocks on the log.
I also didnt understand why we have
id0
andid1
: (id0=1200&var_name0=cookie&zone1=URL&id1=42000339
) on the log.Thank you, Pedro