DevOps and performance

Nginx reverse proxy and load balancer setup

We put Nginx in front of your apps, spread traffic across several backends, drop unhealthy servers automatically and add SSL and caching, all tested with nginx -t and reloaded without dropping connections.

  • One-time job
  • Scope agreed before work
  • Written handover

Who is this for?

  • One server is no longer enough for your traffic
  • You run several apps and want one entry point with SSL
  • You need a backend to drop out without taking the site down

In short

Nginx as reverse proxy and load balancer: upstream groups, round robin or least_conn, health checks with max_fails, SSL, proxy cache and safe reloads.

Packages: Basic · Standard · Complete. The price is quoted after we review your server or site.

Packages

Each package includes everything in the one before it.

Basic

10 tasks

Reverse proxy for each app, Host and client IP headers, SSL with HTTPS redirect, config backup, nginx -t and graceful reload.

Request a quote
Recommended

Standard

20 tasks

Everything in Basic plus several apps under one domain, upstream groups, balancing method, max_fails health checks, proxy_cache, per-domain logs and a failover test.

Request a quote

Complete

27 tasks

Everything in Standard plus sticky sessions, secure TLS settings, no cache on private pages, log review, docs and training.

Request a quote

What is included in each package

TaskBasicStandardComplete
Initial review
Check current Nginx state and portsIncludedIncludedIncluded
List the apps and domains behind NginxIncludedIncludedIncluded
Check how user sessions are storedNot includedIncludedIncluded
Agree the config plan with youNot includedIncludedIncluded
Reverse proxy
proxy_pass for each appIncludedIncludedIncluded
Host and real client IP headersIncludedIncludedIncluded
Several apps under one domainNot includedIncludedIncluded
Load balancing
Upstream server groupsNot includedIncludedIncluded
Balancing method such as round robin or least_connNot includedIncludedIncluded
Drop unhealthy servers with max_fails and fail_timeoutNot includedIncludedIncluded
Sticky sessions if the app needs themNot includedNot includedIncluded
SSL
Install SSL and enable HTTPSIncludedIncludedIncluded
HTTP to HTTPS redirectIncludedIncludedIncluded
Secure protocols and ciphersNot includedNot includedIncluded
Cache
Cache suitable responses with proxy_cacheNot includedIncludedIncluded
Keep private pages out of the cacheNot includedNot includedIncluded
Logs and changes
Back up the previous configIncludedIncludedIncluded
Test config with nginx -tIncludedIncludedIncluded
Apply with reload, without dropping connectionsIncludedIncludedIncluded
Separate access and error logs per domainNot includedIncludedIncluded
Review logs after changes for hidden errorsNot includedNot includedIncluded
Testing and handover
Config files handed overIncludedIncludedIncluded
Failover test with one backend switched offNot includedIncludedIncluded
Note on adding a server or domainNot includedIncludedIncluded
Documentation of the load-balancing layoutNot includedNot includedIncluded
Short training on day-to-day Nginx workNot includedNot includedIncluded
Follow-up check of balancing behaviourNot includedNot includedIncluded

How it works

  1. Tell us what you needOpen a ticket and describe the job, the server or site, and any deadline.
  2. Scope and quoteWe review it and send the package, the exact scope and the price before starting.
  3. Secure access and backupYou share access through the ticket's private fields. We back up before changing anything.
  4. The workWe do the tasks in the package and test after each step.
  5. HandoverYou get the result, a written record of the changes and answers to your questions.

What we need from you

  • Root access to the proxy and backend servers
  • The apps and domains to route
  • How your app stores sessions

What is not included

  • Making your app stateless or sharing sessions between backends may need code changes on your side

Questions people ask

Do I need a separate server for the load balancer?

Usually yes for real failover. For a few apps on one server, Nginx can run on the same machine.

Will users be logged out between backends?

Not if sessions are shared (Redis or the database) or sticky sessions are enabled. We check this first.

Can Nginx cache my site?

Yes, with proxy_cache for public pages, while logged-in and cart pages stay uncached.

Get a quote for nginx reverse proxy and load balancing

Open a ticket with a short description of your server or site. We reply with the scope and price.

Request a quote