this post was submitted on 02 Nov 2023
3 points (100.0% liked)
Self-Hosted Main
521 readers
6 users here now
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Dns only handles to domain but not the port. So if you have a client that normally just checks 80 or 443, that's what it'll assume you want, which is a pain.
There are two paths I'd say would be reasonable. The first is adding more IP addresses to the host so you can publish the docker port to a specific access. Then you don't need the port. You will have to specify specific addresses to listen on so services like nginx don't just listen on all IPs on the host.
The other thing would be to change your nginx config to have multiple
server
directives that looks for specific Host headers and point each server to what you want viaupstream
directives that can have the port specified. http://nginx.org/en/docs/http/ngx_http_upstream_module.html for details.If you need more than that, let me know and I'll see if I can paint you in the right direction.