first of all, I am not a programmer or someone with high tech knowledge and maybe I found this problem for any failed previous procedure. Maybe what I did, generates a problem in next installation steps.
I'm using Ubuntu server 24.04 LTS on a Lenovo ideapad Y700.
I was following the guide to install the Nginx server:
I got a failed test after create /etc/nginx/nginx.conf as indicated in the guide, deleting the available sites and creating the available streams directory:
[emerg] 9992#9992: unknown directive "stream" in /etc/nginx/nginx.conf:20nginx: configuration file /etc/nginx/nginx.conf test failed
I searched on the web for this error and I found some people suggesting to install this package:
apt install -y libnginx-mod-stream
see this site and other site.
The new installed package solved all issues. I attach a screenshot with comments on what I did.
I don't know if this "libnginx-mod-stream" package will make any problem in the future when I install bitcoin core or anything else. However at this moment, it solved my problem.
first of all, I am not a programmer or someone with high tech knowledge and maybe I found this problem for any failed previous procedure. Maybe what I did, generates a problem in next installation steps.
I'm using Ubuntu server 24.04 LTS on a Lenovo ideapad Y700.
I was following the guide to install the Nginx server:
I got a failed test after create /etc/nginx/nginx.conf as indicated in the guide, deleting the available sites and creating the available streams directory:
[emerg] 9992#9992: unknown directive "stream" in /etc/nginx/nginx.conf:20
nginx: configuration file /etc/nginx/nginx.conf test failed
I searched on the web for this error and I found some people suggesting to install this package:
apt install -y libnginx-mod-stream
see this site and other site.The new installed package solved all issues. I attach a screenshot with comments on what I did.
I don't know if this "libnginx-mod-stream" package will make any problem in the future when I install bitcoin core or anything else. However at this moment, it solved my problem.