So, I have some idea on what a reverse proxy does and will be using nginx (with the neat proxy manager UI) for my setup.

However, I’m not completely clear what exactly I want it to do and how I cn use it to run different services on one machine. I’m especially unclear on the ports configuration … tutorials will say things like “change the listening port to xxx for that service and to port yyy for the other service”

How does this work, which ports can I use and how do I need to configure the respective services?

EDIT: thanks everybody, your replies did help me a lot! I have my basic setup now up and running using portainer + nginx + fail2ban.

maegul (he/they)
link
fedilink
English
12Y

If I can add to this … what’s the sort of etymology for the term. Why is it a reverse proxy exactly?

@[email protected]
cake
link
fedilink
English
42Y

In the long long ago it was reasonably common (particularly on corporate or school/uni networks) to force all web traffic outbound from browsers through a proxy.

They’d then use these proxies to enforce policies (block sites basically) and often cache stuff too, important when internet connections sucked.

So generally proxies sit on the same network as the clients (browsers).

Reverse proxies sit on the same network as the servers.

Rikudou_Sage
link
fedilink
English
42Y

Standard proxy is when your outgoing traffic is proxied through it. Reverse is when the incoming traffic is proxied.

maegul (he/they)
link
fedilink
English
12Y

Thanks!!

Create a post

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.

Rules:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

> Any issues on the community? Report it using the report flag.

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog