Qortora · Search · Indexed page

caddy.communityFetched 2026-08-14T15:42:24Z

Localhost on OSX works in Chrome, but not Safari - Help - Caddy Community

1. The problem I’m having: Caddy works as expected on Chrome, but “hangs” on Safari. 2. Error messages and/or full log output: There is no specific error message, but when I try to query the URL (that works in Chrome) i…

Open original source · Full cached text

Localhost on OSX works in Chrome, but not Safari - Help - Caddy Community = 40rem)" rel="stylesheet" data-target="chat_desktop" /> = 40rem)" rel="stylesheet" data-target="discourse-reactions_desktop" /> = 40rem)" rel="stylesheet" data-target="poll_desktop" /> = 40rem)" rel="stylesheet" data-target="desktop_theme" data-theme-id="1" data-theme-name="caddy custom"/> Localhost on OSX works in Chrome, but not Safari Help scottwater (Scott Watermasysk) April 14, 2023, 7:28pm 1 1. The problem I’m having: Caddy works as expected on Chrome, but “hangs” on Safari. 2. Error messages and/or full log output: There is no specific error message, but when I try to query the URL (that works in Chrome) in the terminal, I am seeing a 404. The other interesting thing is the server is set as Caddy curl -I https://scottw.localhost/articles/hash-new/ HTTP/2 404 alt-svc: h3=":443"; ma=2592000 content-type: text/html server: Caddy content-length: 11121 date: Fri, 14 Apr 2023 19:15:25 GMT 3. Caddy version: Version: v2.6.0 h1:lHDynvM+sTOi9Aq4Y15b4FtkqzPB36WbUrZvVdwzTCA= 4. How I installed and ran Caddy: Caddy was installed via Homebrew brew install caddy a. System environment: OS X Ventura 13.3 M1 Mac b. Command: brew services restart caddy d. My complete Caddy config: scottw.localhost:443 { reverse_proxy http://localhost:4001 } Localhost TLD in Safari not found francislavoie (Francis Lavoie) April 14, 2023, 7:57pm 2 In pretty sure Chrome and curl both have built in resolving for *.localhost to 127.0.0.1, but Safari may not. You might need to update your hosts file to make the system resolver handle your localhost subdomain.