Anyone know how to get SSL working in #MicroBin? I'm using the docker container and running on a custom port so I don't have to battle with reverse proxies.
@seedy well a reverse proxy is the easiest way I've found, but that's out of the question here. I've never tried any other way I'm sorry
@3dcandy Do you know how to reverse proxy in apache? I can't get my server to talk to the docker container, the docker container won't talk to itself, yet I can access the damn thing just fine over the internet. I hate this shit.

@seedy apache isn't great at reverse proxying... nginx is much better. For simplicity use nginx proxy manager.

https://nginxproxymanager.com/

Nginx Proxy Manager

Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt

@3dcandy I have Proxy Manager set up, but I can't get it to see my custom SSL cert.
@seedy Hmmm well that is a different issue to be fair. Most proxy managers work better with let's encrypt (for various reasons)
@3dcandy I can't use Let'sEncrypt, not the automatic one anyway, because custom ports.
@seedy I guess if you really need to use custom ports then Traefik will do it - but be warned the learning curve is steep, very steep. Good luck - you will need it!
@3dcandy I got the SSL cert fixed, but the proxy host I added isn't working. When I enter the hostname of my microbin, it goes to apache on the host machine.
@seedy right well you are on the right tracks. NPM needs to point to the right machine or localhost/127.0.0.1 and the right port. Should then work.... but you also need NPM to be set to correct http or https mode
@3dcandy NPM and microbin are both running in Docker containers, connected to the same network. What else needs to be done? Do I need 2 proxy hosts?
@seedy yep - still needs the explicit right machine/host and port to work. That's how you can redirect to multiple containers on one machine, or redirect multiple containers on multiple machines. I don't run NPM anymore as I streamlined my setup to a single machine and using Cloudflare tunnels. Changes coming up though and I *might* go back to a bare metal server for a project and connected via npm
@3dcandy So I need a proxy host for the NPM container's localhost too?
@seedy nope.... just need to get ports and ip's sorted, plus firewall access
@3dcandy I edited my proxy host with the correct port, but still no luck. I know both containers can talk to each other since they're on the same network, and I can access the thing just fine with file-up.seediffusion.cc:2005,.
@seedy still trying to use port 2005 I see....
It's not a great port number - some things simply won't open that port.
For example on Virgin it doesn't matter what you do that port won't work as it's blocked by Virgin for security reasons
@seedy that doesn't appear to be available on my internet/network. Port 2005 isn't available anyhoo for me
@3dcandy I gave up and shut it down.
@seedy yup - it's not as easy as people think is it? Shame though.... I have done more hosting/server/website work this year than last 3 years combined
@3dcandy I've been using apache for 5 years, I have so much configuration in it, I'm comfortable with it, and people are trying to get me to switch to NGINX like it's this really easy fix.
@seedy personally - nginx for me, but still use apache at times. But I've moved on to simpler ways of doing things. Most of my work is now just email/domain/website so a great deal is done via HestiaCP. Easy to issue a cert and there are one click installers for wordpress and a couple of other things. If it's simplicity you want then Yunohost is great, loads of apps available. Again one-click for most. And yes - microbin is available on yunohost

@seedy here is the link to yunohost microbin

https://apps.yunohost.org/app/microbin

YunoHost app store | MicroBin

@3dcandy The Yunohost setup is inaccessible because apparently the devs don't know it's 2024 and basically every operating system and Linux distro has a screen reader in it now.
@seedy ahhh well yes - there is that issue
It does make life difficult when they do that
@3dcandy It would be nice to have my own file sharing thing on Seediffusion though. I could've used MicroBin just fine without the proxy if it had built-in HTTPS.

@seedy I run a free file sharing app as well. You are more than welcome to use it

https://send.3dcandy.social

Send

Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.