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
Even after changing http to stream in the nginx.conf while creating the layer 4 load balancer I was getting this error:- nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf
If you are facing the error then add this line on top of nginx.conf:- load_module /usr/lib/nginx/modules/ngx_stream_module.so;
and restart Nginx with sudo nginx -s reload
It should work now.
Creating this issue so that if anyone is facing same problem then this should solve that.
The text was updated successfully, but these errors were encountered:
OS: Ubuntu 20.04LTS
Nginx version: nginx/1.18.0 (Ubuntu)
Even after changing http to stream in the nginx.conf while creating the layer 4 load balancer I was getting this error:-
nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf
I found a solution to that here
If you are facing the error then add this line on top of nginx.conf:-
load_module /usr/lib/nginx/modules/ngx_stream_module.so;
and restart Nginx with
sudo nginx -s reload
It should work now.
Creating this issue so that if anyone is facing same problem then this should solve that.
The text was updated successfully, but these errors were encountered: