document-server-proxy icon indicating copy to clipboard operation
document-server-proxy copied to clipboard

What is backendserver-address?

Open Thatoo opened this issue 3 years ago • 1 comments

I have a question about https://github.com/ONLYOFFICE/document-server-proxy/blob/master/nginx/proxy-https-to-http.conf

For me, docservice in proxy_pass http://docservice; is the local ip address it looks like proxy_pass http://xxx.xxx.xxx.xxx;

but I don't understand what should be backendserver-address in upstream docservice { server backendserver-address; }

should it be the same IP adress upstream docservice { server xxx.xxx.xxx.xxx; }

or docservice and backendserver-address are different?

Thatoo avatar May 11 '21 16:05 Thatoo

it worked for me with the name of the hosting server, like

  upstream docservice {
    server myserver:8881;
  }

where I started docker using 8881:80 mapping

PulsarFX avatar May 18 '21 21:05 PulsarFX