added option to provide a full custom configuration of "location /"