You can include the whole MVC path (controller and action) in the <location> tag's path attribute. Something like this should work:
<location path="Images/Upload">
<system.web>
<httpRuntime executionTimeout="600" />
</system.web>
</location>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…