Load balancing
Requests can be spread across a named group of servers using a load-balancing method.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
A reverse proxy is a server that receives client requests, forwards them to one or more backend servers and returns the response to the client. It is commonly used to spread load, hide backend servers and hand requests to application servers.
location /app/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://localhost:8000;
}Requests can be spread across a named group of servers using a load-balancing method.
nginx can pass requests to FastCGI, uwsgi, SCGI and memcached servers with dedicated directives.
The proxy holds the certificate and talks plain HTTP to backends on a private network.
A CDN edge works as a reverse proxy with a cache, in front of your origin.
A WAF is often deployed as a reverse proxy to inspect HTTP traffic before it reaches the app.
The proxy can set or remove headers, such as Host and X-Real-IP, before forwarding.
When the proxy cannot get a valid or timely answer from the backend, it returns 502 or 504. These errors point at the layer behind the proxy, so check the application process first.
A forward proxy sits in front of clients and makes requests on their behalf, for example a corporate proxy. A reverse proxy sits in front of servers and receives requests on their behalf. Clients usually do not know a reverse proxy is there.
Yes. nginx documents proxying as a core use: it receives a request, forwards it to a specified server, fetches the response and returns it to the client. It is commonly used to spread load, show content from other sites or pass requests to application servers.
The backend sees the connection from the proxy. Pass the original address in a header, for example nginx proxy_set_header X-Real-IP $remote_addr, and make the application read that header, trusting it only from your own proxy.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.