You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing into nginx bundled on CloudPanel 2.5.0 installation, it fails nginx config check
To Reproduce
Install CloudPanel 2.5.0
Install Ultimate Bad Bot Blocker running sudo ./setup-ngxblocker -v /etc/nginx/sites-enabled -x
(running script without -v returns no vhost files in: [ /etc/nginx/sites-available/*.vhost ] => exiting.)
Expected behavior
Validate `sudo nginx -t' successfully
Error
nginx: [warn] duplicate network "138.199.57.151", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18972
nginx: [warn] duplicate network "143.244.38.129", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18988
nginx: [warn] duplicate network "195.181.163.194", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19083
nginx: [warn] duplicate network "5.188.120.15", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19210
nginx: [warn] duplicate network "89.187.173.66", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19257
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enabled/custom-domain.conf:4
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enabled/custom-domain.conf:5
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] zero size shared memory zone "flood"
nginx: configuration file /etc/nginx/nginx.conf test failed
Note: a clean CloudPanel installation returns this:
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enabled/custom-domain.conf:4
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/sites-enabled/custom-domain.conf:5
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Server (please complete the following information):
Operating System:
Ubuntu 24.04
Specify Exact Version of OS:
Linux ip-x-x-x-x 6.8.0-1021-aws #23-Ubuntu SMP Mon Dec 9 23:51:16 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Describe the bug
When installing into nginx bundled on CloudPanel 2.5.0 installation, it fails nginx config check
To Reproduce
Install CloudPanel 2.5.0
Install Ultimate Bad Bot Blocker running
sudo ./setup-ngxblocker -v /etc/nginx/sites-enabled -x
(running script without -v returns
no vhost files in: [ /etc/nginx/sites-available/*.vhost ] => exiting.
)Expected behavior
Validate `sudo nginx -t' successfully
Error
Note: a clean CloudPanel installation returns this:
Server (please complete the following information):
Operating System:
Ubuntu 24.04
Specify Exact Version of OS:
nginx.conf file:
CloudPanel 2.5.0
The text was updated successfully, but these errors were encountered: