Nginx configurations
Restrictions
Only allow access to our domain only
Only requests to example.in, www.example.in, or images.example.in are allowed. All other requests are dropped silently, reducing exposure to unauthorized traffic and preventing domain spoofing.
Deny certain user-agents
Requests from specified user-agents are blocked, reducing abuse from automated tools and bots.
Block referral spam
Requests with referrers containing these keywords are blocked, reducing referral spam and abuse. Only direct access or requests from legitimate sources are allowed.
Block particular APIs
Requests to /admin/config/session are blocked, preventing unauthorized access to this API.
How to configure
Step 1: Create a .conf file under <Installation Directory>\WebServer\conf\
Here is sample .conf file. Choose what meets to your scenario and update .conf file
Step 2: A restart of the "MetaDefender Managed File Transfer™" services are required.