Re: Add Headers with NGinx and ModSecurity

Ehsan Mahdavi <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <CAC7V=myzt3QVH4WfJ5iVqAyQjPuYLGfVhPjtkGNSKJ0okJnsEQ@mail.gmail.com>
Hi

You can use nginx directives to add headers like  nginx directive
add_header.

I personally recommend using extra module headers-more. It can be found here

https://github.com/openresty/headers-more-nginx-module

On Thu, Sep 17, 2020, 21:37 Mikaël Pirio <[email protected]>
wrote:

> Hello,
>
> I use libModSecurity 3.0.3 and I would like to know if we can add
> responses headers (with nginx) like we can do with Apache (use `setenv` in
> rule and use this env variable in Apache config) ?
>
> Thanks,
> _______________________________________________
> mod-security-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mod-security-users
> Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
> http://www.modsecurity.org/projects/commercial/rules/
> http://www.modsecurity.org/projects/commercial/support/
>

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.