If active died, backup is up and sessions will go to backup. When active is up , traffic go to active. How can keep sessions on backup when active is come back
If active died, backup is up and sessions will go to backup. When active is up , traffic go to active. How can keep sessions on backup when active is come back
You can't, except if you build your own balancing logic via upstream_by_lua.
However, if that's realted to your previous question - you don't need to take care of that. FIX is long-lasting connection, so clients switched to backup server will stay there until disconnect.
всем привет! подскажите пожалуйста как можно настроить проксирование location /rest/rest1/{X}/rest3 { proxy_pass http://127.0.0.1/test/{X} ....... ...... .....} где {X} это динамическое число.