[GH-ISSUE #601] Block common exploits funtion. #507

Closed
opened 2026-02-26 06:33:11 +03:00 by kerem · 5 comments
Owner

Originally created by @investlab on GitHub (Sep 10, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/601

Screenshot_1
Hi there,
Can you tell me what's module did you build this funtion?
Thank you!

Originally created by @investlab on GitHub (Sep 10, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/601 ![Screenshot_1](https://user-images.githubusercontent.com/10806362/92690225-d4c53b80-f36a-11ea-96be-42f4ad3faa36.png) Hi there, Can you tell me what's module did you build this funtion? Thank you!
kerem 2026-02-26 06:33:11 +03:00
Author
Owner

@mochman commented on GitHub (Sep 14, 2020):

It looks like when you enable that, block-exploits.conf is included.

<!-- gh-comment-id:691838044 --> @mochman commented on GitHub (Sep 14, 2020): It looks like when you enable that, [block-exploits.conf](https://github.com/jc21/nginx-proxy-manager/blob/bb0f4bfa626bfa30e3ad2fa31b5d759c9de98559/docker/rootfs/etc/nginx/conf.d/include/block-exploits.conf) is included.
Author
Owner

@investlab commented on GitHub (Sep 14, 2020):

Thank you @mochman
I will custom this funtion using modsecurity.

<!-- gh-comment-id:691840540 --> @investlab commented on GitHub (Sep 14, 2020): Thank you @mochman I will custom this funtion using modsecurity.
Author
Owner

@itsKV commented on GitHub (Aug 4, 2022):

It looks like when you enable that, block-exploits.conf is included.

And where can I find this block-exploits.conf file on host filesystem?
I couldn't find that conf.d folder mentioned in path of conf file.

<!-- gh-comment-id:1204930238 --> @itsKV commented on GitHub (Aug 4, 2022): > It looks like when you enable that, [block-exploits.conf](https://github.com/jc21/nginx-proxy-manager/blob/bb0f4bfa626bfa30e3ad2fa31b5d759c9de98559/docker/rootfs/etc/nginx/conf.d/include/block-exploits.conf) is included. And where can I find this block-exploits.conf file on host filesystem? I couldn't find that conf.d folder mentioned in path of conf file.
Author
Owner

@mochman commented on GitHub (Aug 4, 2022):

It's not on the host filesystem. It's located in the container filesystem at /etc/nginx/conf.d/include/block-exploits.conf.
You can get it on the host filesystem by creating a bind mount to the file directly.

<!-- gh-comment-id:1204980538 --> @mochman commented on GitHub (Aug 4, 2022): It's not on the host filesystem. It's located in the container filesystem at `/etc/nginx/conf.d/include/block-exploits.conf`. You can get it on the host filesystem by creating a [bind mount](https://docs.docker.com/storage/bind-mounts/) to the file directly.
Author
Owner

@YurkinPark commented on GitHub (Nov 21, 2024):

btw, are there some addons which i can use to provide such options (like "Block common exploits") to be included in configuration (or managed externally) to let administrator specify user-agent or IP to block traffic from such client?

<!-- gh-comment-id:2490484684 --> @YurkinPark commented on GitHub (Nov 21, 2024): btw, are there some addons which i can use to provide such options (like "Block common exploits") to be included in configuration (or managed externally) to let administrator specify user-agent or IP to block traffic from such client?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#507
No description provided.