diff options
| author | Elis Eriksson <spelis@spelis.li> | 2026-07-07 19:11:08 +0200 |
|---|---|---|
| committer | Elis Eriksson <spelis@spelis.li> | 2026-07-07 19:11:08 +0200 |
| commit | bd65a742f81157b5c4c9fe399db65a0c1838f47d (patch) | |
| tree | a9304784de946c83a287bcc75bb2a504b27f3d06 /content | |
| parent | 61eb072cf478b1749b2ed6fce163add81dfff84e (diff) | |
| download | spelis-web-bd65a742f81157b5c4c9fe399db65a0c1838f47d.tar spelis-web-bd65a742f81157b5c4c9fe399db65a0c1838f47d.tar.gz spelis-web-bd65a742f81157b5c4c9fe399db65a0c1838f47d.tar.bz2 spelis-web-bd65a742f81157b5c4c9fe399db65a0c1838f47d.tar.lz spelis-web-bd65a742f81157b5c4c9fe399db65a0c1838f47d.tar.xz spelis-web-bd65a742f81157b5c4c9fe399db65a0c1838f47d.tar.zst spelis-web-bd65a742f81157b5c4c9fe399db65a0c1838f47d.zip | |
write about my beloved fancyindex
Diffstat (limited to 'content')
| -rw-r--r-- | content/blog/fancyindex.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/content/blog/fancyindex.md b/content/blog/fancyindex.md new file mode 100644 index 0000000..772f825 --- /dev/null +++ b/content/blog/fancyindex.md @@ -0,0 +1,29 @@ +--- +title: Finally replaced NGINX's Autoindex +keywords: autoindex nginx css +date: 2026-07-07 +--- + +Jeez, I've been dreading this moment for so long, and it wasn't even a hassle. + +So I finally set up FancyIndex for NGINX because the built-in autoindex honestly sucks genuine ass. Okay, maybe that's a little harsh. It works. It lists files. It does exactly what it says on the tin. But aesthetically? It's basically a directory listing with unstyled HTML from the stone age. + +For the longest time I'd been putting this off because I assumed it'd be one of those projects where you spend six hours reading documentation, rebuilding NGINX with some obscure module, sacrificing a goat to the package manager, and still end up with a blank page and three cryptic error messages. + +Instead, it took me a few minutes. + +Most of the work wasn't even getting FancyIndex running. The hardest part was deciding how I wanted it to look. It supports custom headers, footers, CSS, sorting, hiding files, and a bunch of little quality-of-life features that make a file index feel like it actually belongs on your website instead of looking like your web server accidentally exposed a folder. + +The best part is that it's still just a directory listing. No JavaScript monstrosity, no database, no fancy backend. Drop files into a directory (well, only I have FTP access so sucks to be you) and they're immediately available. That's exactly what I wanted. + +I don't know why I kept procrastinating on this one. I guess "I'll do it later" eventually became "I've been saying that for over a year." Turns out the solution was just... reading the documentation for once. + +As usual, the thing I'd built up in my head as an enormous nightmare turned out to be one of the easiest upgrades I've made to the server. + +I probably should stop doing that. + +...Nah. + +### slight note here + +The only issue I had was that the CSS href didn't want to work so I just caved and shoved a `<link>` in the header.html |
