M
M
MarkThule2020-05-19 12:28:39
linux
MarkThule, 2020-05-19 12:28:39

Nginx: how to set up an error page on the balancer?

There is an nginx balancer that distributes requests to dedicated hosting servers. It is necessary to make your own error pages on the nginx balancer. But to implement without entering for each site / proxied server in the configuration file (located in conf.d with the domain and ip-address for proxying) in the server block (there are more than a hundred sites / servers and then you will have to enter for each one, thereby inflating the config), but in common / at once for all. Has anyone implemented something like this?
The pages have already been laid out in html, css and using the logo of our organization in jpg format.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2020-05-19
@MarkThule

include

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question