Nginx: Add $device map for backward compatibility in the extended configuration.