def METHOD_NAME():
	locations = ''
	for comb in itertools.product(*confMatrix):
		locName = '-'.join(map(lambda x: x[0], comb))
		locDirectives = reduce(lambda x, y: x + y, map(lambda x: x[1], comb))
		locations += 'location /%s/ {\n%s\n}\n\n' % (locName, 
			'\n'.join(map(lambda x: '\t%s;' % x, locDirectives)))
	return confTemplate % locations.replace('\n', '\n\t\t')