Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is backendserver-address? #22

Open
Thatoo opened this issue May 11, 2021 · 1 comment
Open

What is backendserver-address? #22

Thatoo opened this issue May 11, 2021 · 1 comment

Comments

@Thatoo
Copy link

Thatoo commented May 11, 2021

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?

@PulsarFX
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants