Answer the question
In order to leave comments, you need to log in
How to set up 1s for vps?
I bought a vps centos 7,
installed postgress, set no errors to autoload,
installed 1c server, set no errors to autoload,
allocated a domain for 1c (some.ru),
configured nginx for it
server {
server_name some.ru www.some.ru;
location / {
proxy_pass http://127.0.0.1:1540;
}
}
http://some.ru
порт: 80
Answer the question
In order to leave comments, you need to log in
If you want to access the internal server from the Internet, then when describing the central node of the 1C cluster, you must specify the name by which you are accessing from the Internet. Theoretically, a computer cluster can consist of more than one computer (suddenly) and therefore the server agent in its response returns the name of the computer where the external client should go to serve its requests. Your first packet on some.ru can and will be somehow miraculously routed to the destination, but the response will tell you to keep knocking on localhost:1541 (if you specified this in the cluster settings)
And the fact that you change the standard port 1540 to 80 is not at all good, since the port proxy setting for the cluster is not very obvious - in addition to the agent and manager ports, there is also a range of ten for worker processes that are randomly allocated.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question