I'm trying to setup allow/deny's in my nginx config file using a bash script. I have an array of approved subnets: I've come close using a sed sniplet I found on the web but it's using techniques I'm ...