### Is there an existing issue for this?

- [X] I have searched the existing issues and read the documentation

### Question

I'm running Localstack inside minikube on macOS. Due to the networking configuration in macOS, I need to use an HTTP proxy whenever I'm connected to a VPN.

This means that Localstack fails to start inside minikube when the host is connected to a VPN. The issue came up when Localstack tried to download https://github.com/localstack/localstack-artifacts/raw/master/local-certs/server.key.

Is there a way to tell Localstack to use an HTTP proxy when downloading resources?

### Anything else?

_No response_
content = """
        1: {search}
        2: {search}
        3: {sear}
        """
        expected = """
        1: foo
        2: foo
        3: {sear}
        """
        fp = tmp_path / "file.txt"
        fp.write_text(content)
        common.replace_in_file("{search}", "foo", fp)
        assert fp.read_text() == expected
        
        common.replace_in_file("{search}", "foo", fp)
        assert fp.read_text() == expected
    def test_replace_in_file_with_non_existing_path(self, tmp_path):