Welcome! Log In Create A New Profile

Advanced

Re: 1.9 stream not working? 'directive is not allowed here'

Maxim Konovalov
April 28, 2015 05:34PM
On 4/29/15 12:13 AM, itpp2012 wrote:
> Hmm, following: http://nginx.com/resources/admin-guide/tcp-load-balancing/
> I get a nginx: [emerg] "stream" directive is not allowed here
> eventhough its within the http context like upstreams are, anyone with a
> good example? or did I stumble on a context eval bug?
>
Put it in the same level as http. E.g.

....
http { foo }

stream { bar }

# EOF

--
Maxim Konovalov
http://nginx.com

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

1.9 stream not working? 'directive is not allowed here'

itpp2012 April 28, 2015 05:13PM

Re: 1.9 stream not working? 'directive is not allowed here'

Maxim Konovalov April 28, 2015 05:34PM

Re: 1.9 stream not working? 'directive is not allowed here'

Sergey Kandaurov April 28, 2015 05:38PM

Re: 1.9 stream not working? 'directive is not allowed here'

itpp2012 April 28, 2015 05:49PM

Re: 1.9 stream not working? 'directive is not allowed here'

Robert Paprocki April 28, 2015 06:28PM

Re: 1.9 stream not working? 'directive is not allowed here'

itpp2012 April 29, 2015 03:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 163
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready