0

while doing nginx plus upstream configuration, we are seeing one issue where we configured same shared memory zone under multiple upstream with different hosts in state file. One thing we observed that, if zone is same for different upstream having different hosts, its not working and right away we are seeing 404 page not found error.

Upstream config as below:

enter image description here

Location tab as below: enter image description here

If I configure same zone shared memory for group3 as "shared_memory_zone" , our application is throwing 404 error and if we change it to some other value, we see 200 response coming from backend with valid response.

can someone please assist how can we use same shared memory zone in all stream? Any help guidance will be appreciated.

dhandma
  • 77
  • 1
  • 9

0 Answers0