845
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 03 Jan 2025
845 points (100.0% liked)
Microblog Memes
6652 readers
2642 users here now
A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.
Created as an evolution of White People Twitter and other tweet-capture subreddits.
Rules:
- Please put at least one word relevant to the post in the post title.
- Be nice.
- No advertising, brand promotion or guerilla marketing.
- Posters are encouraged to link to the toot or tweet etc in the description of posts.
Related communities:
founded 2 years ago
MODERATORS
✨Nextcloud Gang✨
NGINX autoindex + Wget + SSH fuckery (a.k.a.: "Lazy turd solution")
Idea:
You can put files into selected directory for filesharing which will be used as root directory for NGINX. When you enable autoindex you'll get the classic directory listing you see on places like Linux ISO mirrors.
That will be the file source.
To download, you'll simply download from that autoindex page.
Uploading is, uuuhh, creative.
You have to also run NGINX server the same way on the upload side, either have them on same network or use reverse SSH forwarding, and then SSH into the machine you wish to upload to and download the files into it with Wget (or at least I use Wget) from the locally running server.
Example config I last used on my phone as the upload side:
Yes, the indentation, I know.