Re: [mod-security-users] Add Headers with NGinx and ModSecurity
Brought to you by:
victorhora,
zimmerletw
|
From: Christian F. <chr...@ne...> - 2020-09-18 07:51:34
|
On Fri, Sep 18, 2020 at 09:11:11AM +0430, Ehsan Mahdavi wrote: > Hi > > You can use nginx directives to add headers like nginx directive > add_header. Oops. I thought this was not possible, but now I realize I was thinking of the response body. Of course I was wrong. Sorry for the misinformation on my behalf. I'm too much of an Apache person. Christian > > 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 <mik...@bo...> > 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 > > mod...@li... > > 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 > mod...@li... > 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/ |