this post was submitted on 13 Oct 2024
48 points (98.0% liked)

datahoarder

6663 readers
7 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 3 days ago (1 children)

I'm using the Caddy web server. Yeah, the directory listing is more aesthetically satisfying than other web server software. I also like how it shows the sizes of the files as a bar with the number inside it so you can visually see size comparisons between the files.

[–] [email protected] 1 points 3 days ago (1 children)

Yeah I would totally use that for nginx.

[–] [email protected] 2 points 3 days ago (1 children)

If you use Caddy web server, you don't need Nginx. Caddy and Nginx are both web servers. I prefer Caddy over Nginx, Apache, and other web servers because of its simplicity and the ability to have automatic HTTPS.

[–] [email protected] 2 points 3 days ago* (last edited 3 days 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] 0 points 3 days 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 3 days 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.