7
7
700ghz2021-02-09 01:37:42
Nginx
700ghz, 2021-02-09 01:37:42

Nginx+pm2 sometimes returns 404?

Hello!

  • I have the following configuration: vps -> nginx -> pm2 -> expressjs
  • However, about once a day, for a few seconds, nginx simply returns 404
  • i.e. for a few seconds nginx can't reach expressjs
  • server does not restart


Any ideas? Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2021-02-09
@700ghz

See if there is a chronological pattern or a correlation with something else at the time of the manifestation of errors - high load, background processes, backups, increased traffic, etc. This happens with the same URLs or different ones, does someone touch these files ... In short, we need diagnostics.

A
Alexander Petrov, 2017-08-29
@myaca

No need for a picture. Pictures - damage))))))))
Yes, it's better to bang with an svg-shka.
Through css, you can use the mask via clip-path (but this is again a mask to draw in svg).
You can play around with border-radius. But not the fact that exactly the same result will be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question