Skip to content

Commit 0b3e4fa

Browse files
committed
tmp: reword this later. details on how this was tested below
``` python3 -m http.server 8080 --bind 127.0.0.1 python3 -m http.server 8080 --bind localhost python3 -m http.server 8080 --bind ::1 python3 -m http.server 8080 --bind ::1 ``` and check ``` lsof -Pn | grep -E ':8080' localias add frontend.local 8080 localias add frontend.testing 8080 ``` ``` curl 'http://[::]:8080/' curl 'http://[::1]:8080/' curl 'http://127.0.0.1:8080/' curl 'http://localhost:8080/' curl 'https://frontend.local' curl 'https://frontend.testing' ```
1 parent d73df9b commit 0b3e4fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func (entry Entry) Caddyfile() string {
213213
}
214214
return fmt.Sprintf(strings.TrimSpace(`
215215
%s {
216-
reverse_proxy :%d
216+
reverse_proxy localhost:%d
217217
%s
218218
}
219219
`), entry.Alias, entry.Port, tls)

0 commit comments

Comments
 (0)