The following obj.conf code instructs sed-response to rewrite any occurrence of http://127.0.0.1/ in an HTML response to http://server.example.com/:
Output fn="insert-filter" type="text/html" filter="sed-response" sed="s|http://127.0.0.1/|http://server.example.com/|g"