News for hackers. Stuff that matters.
Re:Lcl.host: fast, easy HTTPS in your local dev environment by wolfgang42 on Wednesday March 20, 2024 @12:19PM (#39768673)
Having once made a similar mistake myself, I assume what they mean is that it was downloading everything as a .gz—that is, the browser was asking users “where would you like to save index.html.gz?” instead of showing the homepage. (This happens when you precompress a static site for performance, but forget to tell the server that gzip should be negotiated as a Content-Encoding instead of a Content-Type.)

There are no comments on this comment yet.