Skip to content
Snippets Groups Projects

Skalierbarkeit

Merged Markus Klose requested to merge skalierbarkeit into main
3 files
+ 19
18
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 6
6
@@ -26,15 +26,15 @@ http {
@@ -26,15 +26,15 @@ http {
upstream nodes {
upstream nodes {
# enable sticky session with either "hash" (uses the complete IP address)
# enable sticky session with either "hash" (uses the complete IP address)
#hash $remote_addr consistent;
#hash $remote_addr consistent;
least_conn;
# least_conn;
# or "ip_hash" (uses the first three octets of the client IPv4 address, or the entire IPv6 address)
# or "ip_hash" (uses the first three octets of the client IPv4 address, or the entire IPv6 address)
# ip_hash;
ip_hash;
# or "sticky" (needs commercial subscription)
# or "sticky" (needs commercial subscription)
# sticky cookie srv_id expires=1h domain=.example.com path=/;
# sticky cookie srv_id expires=1h domain=.example.com path=/;
server server-john:3600;
server server-john:3601;
server server-paul:3600;
server server-paul:3602;
server server-george:3600;
server server-george:3603;
server server-ringo:3600;
server server-ringo:3604;
}
}
}
}
 
\ No newline at end of file
Loading