C
C
chief2020-05-07 20:32:26
Nginx
chief, 2020-05-07 20:32:26

Why does nginx proxy_pass stop working over time to all jails in FreeBSD 12?

Hello.
Who has experience with FreeBSD + Jails, please tell me why over time (usually less than a day) all web services in jails become unavailable?

Description:
There is a home server on FreeBSD 12. Enough power.

Network map:
Router == redirect80 == Server == fw redirect80 == jail1 nginx reverse-proxy == proxy_pass to other jails depending on the requested domain.

Several jails with nginx (reverse proxy) and several web services (transmission, personal website, _h5ai file manager and emby (film library) are deployed on the server. Each with its own nginx inside.
Over time, all jails are no longer available on port 80. That is nginx, on which the proxy_pass is made, stalls.On IP, everything is pinged everywhere.

Please tell
me - the correct configs for redirects (maybe I forgot somewhere or indicated incorrect limits / timeouts and fastcgi connections stupidly end?
- where you can see why the packets do not go to the requester (maybe somewhere the config is crooked and the packets start spinning in the network and lay it down)
- I don't even know what else to tell you.write what you need to provide (logs, configs, appearances, passwords)... experienced psychics are needed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gansterito, 2020-05-08
@Gansterito

netstat -apn inside jail shows open NGINX sockets?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question