The original post: /r/nginx by /u/benfurkank on 2024-08-10 14:56:31.

Hi, I have a machine which is CentOS 8 and on this machine running mariadb, php-fpm, nginx . I have a website which is blocked on all over the world just letting some of the ip blocks.

Then we create a subdomain for this website and its open the all countries its running on another machine. At this point all the things are ok. My manager asked me to do all the bloced requests shoud redirect to sub domain .

How should i do that ?

I tried downloading ip blocks and redirect nginx conf thus ip blocks are not up to date and geolocation for nginx not working on centos 8 any idea ?

Very much thanks