Add regexp for replacement to Location section.

In case of '.' in location path parser is not working properly
to configure nginx. So nginx fails with error.

Fixes-bug: PROD-37013
Change-Id: I0d2e74977199e5bc7c826a40b1603000919dde66
2 files changed