239
submitted 2 weeks ago by wuphysics87@lemmy.ml to c/asklemmy@lemmy.ml

FOSS or otherwise

you are viewing a single comment's thread
view the rest of the comments
[-] user224@lemmy.sdf.org 1 points 2 weeks ago

I feel like NGINX is simplest to configure. And it's in the repos already, so I don't see the advantage here.

Easy to do redirects, directory listings, serving a static website, setting mime types of specific files, basic user authentication, using HTTPS, using it as reverse proxy, limiting request types, limiting bandwidth, and making the directory listings far nicer with fancyindex module. That's all I need and it's pretty simple to do with NGINX. I don't know what the Python HTTP server does, nor how to use.

[-] tetris11@lemmy.ml 1 points 2 weeks ago* (last edited 2 weeks ago)

if you said Caddy, I'd believe you more -- but nginx requires a lot of configuration.

python http server simply does a directory listing in the folder it is invoked in, and if there is an index.html file present it will serve it by default. Easy for hosting files/images from your phone

this post was submitted on 01 Sep 2024
239 points (98.0% liked)

Asklemmy

43366 readers
1321 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS