Allowing Magmi module access to a limited set of IP’s

in Nginx configuration

To allow the Magmi directory only to a few IP’s use the following snipplet in /data/web/nginx/server.blacklist

location ^~ /magmi/ {
  allow 1.2.3.4;
  allow 3.4.5.6;
  allow 7.8.9.10;
  deny all;
 
  location ~ \.php$ {
    echo_exec @phpfpm;
  }
}

0