The current design is such that the host header for cloudfronting is set as part of Config and the URL travels alone. This prevents us from using a list of URLs some of which require cloudfronting and some of which do not. To fix this issue, we just need to couple the cloudfront host header with the URL rather than with the config. This work is part of https://github.com/ooni/probe/issues/2700.
The current design is such that the host header for cloudfronting is set as part of
Config
and the URL travels alone. This prevents us from using a list of URLs some of which require cloudfronting and some of which do not. To fix this issue, we just need to couple the cloudfront host header with the URL rather than with the config. This work is part of https://github.com/ooni/probe/issues/2700.