Answers for ""stream" directive is not allowed here"

0

"stream" directive is not allowed here

//stream outside http,  nginx.conf
//My guess is your include for /etc/nginx/conf.d/*.conf is located 
//in the http {} block and not outside of it. 
//Checkout the /etc/nginx/nginx.conf for the include 
//and maybe you have to make a new one for the stream section

http{}
stream{}
Posted by: Guest on March-16-2022

Code answers related to ""stream" directive is not allowed here"

Browse Popular Code Answers by Language