Difference between revisions of "Nginx upstream directive"
Jump to navigation
Jump to search
↑ https://docs.nginx.com/nginx/admin-guide/load-balancer/http-load-balancer/#overview
Line 14: | Line 14: | ||
− | + | == Related directives == | |
+ | * <code>[[proxy_pass]]</code> | ||
Revision as of 12:07, 19 October 2021
Load balancing in Nginx is configured using upstream
directive.[1]
http { upstream backend { server backend1.example.com weight=3; server backend2.example.com; server 192.0.10.1 backup; } }
Related directives
See also
- Web server: Nginx:
/etc/nginx/nginx.conf
,nginx -t
, Nginx logs, Nginx change log, PHP,php-fpm
, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy)
,ngx_http_rewrite_module
,/etc/nginx/sites-enabled/
,error.log
,access.log
,/nginx status
, AIO
Advertising: