E
E
Evgeny Matveev2019-07-28 08:26:43
Nginx
Evgeny Matveev, 2019-07-28 08:26:43

Postal / 502 Bad Gateway nginx/1.10.3 (Ubuntu), how to fix?

Probably this concerns the postal itself - maybe someone used the program.
nginx does not start
tail -f /var/log/nginx/error.log
2019/07/28 07:03:01 [error] 1363#1363: *62 connect() failed (111: Connection refused) while connecting to upstream, client: 141.8.183.17, server: postal.yourdomain.com, request: "GET /catalog/upakovka_i_khranenie/shkatulki_dlya_nozhey/ HTTP/1.1",
upstream: " 127.0.0.1:5000/catalog/upakovka_i_khranenie/shkatu... ", host : "damassk.ru"
I can't understand it, one thing I found out is that damassk.ru (this is not our domain) also refers to our ip
, as I understand it, it is trying to send something, connect?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Derepko, 2019-07-28
@xEpozZ

It's written
In general, are you sure you are using the correct upstream directive ?
PS It would be nice to see the config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question