Closed gedw99 closed 1 year ago
I unfortunately cannot reproduce this problem using localias version 1.0.1 on MacOS 12.5.1 (arm). Here's a screenshot where I am running localias and your golang web server and successfully connecting to it
My first hypothesis is that you started the daemon, added the test: 8080
alias, but didn't reload or restart the daemon so it does not know about the alias. If this is the case, you should be able to fix the issue in one of these ways:
localias daemon stop && localias run
command.localias daemon reload
localias daemon stop && localias daemon start
Then, running your curl https://test:443
or curl https://test
commands.
If that doesn't work, can you please tell me:
localias version
)localias hostctl list
(maybe Localias was unable to edit your /etc/hosts file to add the rule for test
?)Closing since I cannot reproduce this issue. I will re-open this if I can get enough information to reproduce the problem or others report the same thing.
daemon is running
via CLI i setup alias for "test: 8080"
my little test server: go run .
test it:
test is via localias caddy proxy: