Skip to main content

Proxy-Server

Every network connected to the Internet has a public IP address. This address can be used to reach the network.

For example, if you type 172.217.16.67 into your web browser, you will end up at google.com. This is an http request, so it is actually http://172.217.16.67:80. Now it would also be possible to use not only the standard port 80, but all 65535 ports that are available to you.

This has the disadvantage that no SSL can be used. In addition, IP addresses would have to be remembered. This is where proxy servers come into play. A reverse proxy server can make different content on a server accessible under different domains.

There are several proxy servers that can be used.

  • NGINX
  • Apache HTTP
  • Traefik
  • Caddy
  • HAProxy

And many more.

It is also possible to set multiple reverse proxy servers in series. This can be useful, for example, if there are multiple servers on a network, but the individual services are on different Docker networks.