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