nginx proxy.conf.erb: fix opts iteration for ruby 1.9.x