• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved HttpGeoipModule: nginx?

omexlu

Regular Pleskian
Hello,

can HttpGeoipModule be used out of the box with nginx on plesk?
As i see in nginx -V it can't be used.

How can i exclude countrys?

EDIT: I think i found a way to do that, i will give a try this week:
Using CloudFlare for country blocking - Nginx Library

Question: Can this be put in additional nginx directive in GUI, so that i can config different countrys for different websites:
Code:
map $http_cf_ipcountry $allow {
        default yes;
        CN no;
        MX no;
        NO no;
}
if ($allow = no) {
    return 403;
}

Thanks
 
Last edited:
Hi omexlu,

nope, the current Plesk "sw-nginx" - component doesn't include the module "HttpGeoipModule".


But you may read and follow my tutorial, in order to be able to compile your very own NGINX - version. ;)


Thanks but this is to advanced for me :D im only a privatman not a hosting provider :D
What about the solution mentioned above, this can be working that way?
 
I have take a look but seems very advanced and it get overriden on plesk updates as i read, then i stopped read :)

But what about that above, this is a very easy to implement if it works ?
 
Hi omexlu,

your thread title is "HttpGeoipModule: nginx?" and this has been answered.

If you desire help for additional questions, not related to your topic, pls. consider to open a NEW thread and try not to mix threads. People visiting the forum and users who found threads with the help of search engine, will get confused and irritated if you mix threads with all kinds of questions/errors/issues/problems, not related to the thread title and the initial post content!
 
Back
Top