this post was submitted on 13 Oct 2024
50 points (98.1% liked)

datahoarder

6763 readers
42 users here now

Who are we?

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

We are one. We are legion. And we're trying really hard not to forget.

-- 5-4-3-2-1-bang from this thread

founded 4 years ago
MODERATORS
 

It's mostly old computer and gaming magazines at this time.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

The page design of the directory listings are built in to the web server software. So this isn't something you can add to Nginx or Apache. There is a way to change the appearance of how files from the directory listing are displayed, but you'd need to use PHP or JavaScript with CSS or something to implement a front-end for it, and it wouldn't be anything you'd add to the web server configuration. If you look at https://beta.the-eye.eu/public/, they are using JavaScript and CSS to implement a dynamic front-end for the directory listing.

[–] [email protected] 1 points 1 month ago (1 children)

Yes, I’m aware… however there’s nothing making it so we can’t port the directory listing from caddy (most likely just HTML/JS) into nginx. Or, someone might already have done it, I guess will have a look.

[–] [email protected] 1 points 1 month ago

I see what you mean. As far as I'm aware, I think that's builtin to the web server software. So it's not something you can change in Nginx to make it look like Caddy, nor can you modify Caddy's configuration. I think the most Caddy does is change the background colors and font colors to match the user's browser's preference of light or dark mode, but this is builtin to the source code, so you can't modify the colors unless you fork Caddy and change the source code yourself.