Issue

Too many open files

Some request returns 404 and error is logged in error.log

[crit] 124477#124477: accept4() failed (24: Too many open files)

https://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/

nginx: [warn] protocol options redefined for 0.0.0.0:443

Nginx 1.23.4 introduces listen directive consistency check between all config files.

All listen 443 directives must be with the same options. So example below shows incorrect configuration:

# in some files:
listen 443 ssl http2;

# in another:
listen 443 ssl;

So check every virtualhost config file and also /nginx/conf.d/default.conf

More: