u/lukmly013 💾 (lemmy.sdf.org)

I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is HP 255 G7 running Manjaro and Linux Mint.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 27 Posts
  • 873 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle



  • 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.



  • Termux on Android.

    I’ve got some videos on my phone I might want to watch on random computers, so I serve them up with NGINX. I’ve got wget-created mirrors of some old websites on my phone, so I serve them up with NGINX. Other files I may want to move out from my phone to untrusted computers on the network can too be served up simply by NGINX.
    I’ve got the full Wikipedia zim file from Kiwix on my Micro SD card, so I run kiwix-serve (behind NGINX).
    I’ve got all the music on my phone, naturally the phone is then running my Navidrome server (behind NGINX).
    Of course, I may want to manage this from a computer, so it’s running SSH server.
    My phone is always connected to VPN and uses NextDNS, naturally I may want to use this with other computers, but I can’t install software to computers I don’t own (I mean, I can, but … it would be disliked), naturally it is then running Tiniproxy HTTP proxy server.
    Some desktop GUI apps can be useful on a phone too. noaa-apt, Kid3, Audacity, desktop Firefox, Handbrake because I am too dumb for ffmpeg, so I run XFCE DE on it. Naturally, I can access it from a computer (I know) too, after all it’s accessed via a VNC server.
    Am I stupid enough to expose something using HTTP protocol running on my phone to the internet? Of course I am! I can use cloudflared.
    Do I want to encrypt a file? I can use GPG.
    Do I want to create a compressed archive? I’ve got TAr and GZip.
    Do I want to browse Gopher? I’ve got Lynx.
    SSH or telnet somewhere? The clients are there.