0

i had this configuration:

upstream my_custom_upstream {
    server container-1:8000 weight=99;
    server container-2:8001 weight=1;
}

location = /my_url {
    uwsgi_pass  my_custom_upstream;
    ...
}

now i'm changing only container-2 to run on daphne, based on asgi and not on uwsgi anymore. keeping the 99-1 ratio with container-1 on uwsgi and container-2 with asgi, how do i can keep the same behavior with diferent protocols?

rado
  • 5,720
  • 5
  • 29
  • 51

0 Answers0