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
m (Thomas moved page Upstream (Nginx) to Nginx upstream directive) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
Load balancing in [[Nginx]] is configured using <code>[[upstream]]</code> directive.<ref>https://docs.nginx.com/nginx/admin-guide/load-balancer/http-load-balancer/#overview</ref> | Load balancing in [[Nginx]] is configured using <code>[[upstream]]</code> directive.<ref>https://docs.nginx.com/nginx/admin-guide/load-balancer/http-load-balancer/#overview</ref> | ||
Line 16: | Line 15: | ||
== Related directives == | == Related directives == | ||
* <code>[[proxy_pass]]</code> | * <code>[[proxy_pass]]</code> | ||
− | |||
− | |||
== See also == | == See also == |
Latest revision as of 13:45, 14 July 2022
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[edit]
See also[edit]
- 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: