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 (Welcome moved page Upstream to Upstream (Nginx)) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | |||
+ | == Related directives == | ||
+ | * <code>[[proxy_pass]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{nginx}} | ||
+ | |||
+ | |||
+ | [[Category:Nginx]] | ||
+ | [[Category:Web]] |
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: