The way I did it for now was to edit /etc/hosts
to add an entry like:
127.0.0.1 myproject.localhost
Then start icx-proxy
like this:
icx-proxy --fetch-root-key --address 127.0.0.1:8453 --dns-alias myproject.localhost:rrkah-fqaaa-aaaaa-aaaaq-cai -v -v
That way I can make HTTP requests to http://myproject.localhost:8453
. You can pick a different host name and port.