Welcome! Log In Create A New Profile

Advanced

Is there anyway to filter content and return a 403 in nginx?

September 09, 2023 09:30AM
Hi, I had a nginx working as reverse proxy, and all my backend are http
protocol.

I want to filter the content, for example, if the content has a work like
'virus', then nginx return a 403.
When I looked the ngx_http_sub_module, seems it can replace the content,
such as replace 'virus' to 'health', but can not return a 403?

Thanks.

--
from:baalchina
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Is there anyway to filter content and return a 403 in nginx?

baalchina September 09, 2023 09:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready