Francis Daly
March 25, 2016 09:26PM
On Fri, Mar 25, 2016 at 02:22:19PM -0400, twister5800 wrote:

Hi there,

> nginx version: nginx/1.9.12
> built by gcc 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)

> configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
....
> --add-module=/home/ubuntuadmin/nginx-rtmp-module

> But why can't nginx start when I add this to nginx.conf:
>
> location ~ .flv$ {
> flv;
> }
>
> It gives this:
> 2016/03/25 18:59:14 [emerg] 4643#0: unknown directive "flv" in
> /usr/local/nginx/conf/nginx.conf:63

Either: the nginx binary that you are running when reading the config file
does not include the flv module; or your third-party module is broken.

Try without the third-party module; if it works, then find the version
of the third-party module that is appropriate for this nginx version.

f
--
Francis Daly francis@daoine.org

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

unknown directive "flv"

twister5800 March 25, 2016 02:22PM

Re: unknown directive "flv"

Francis Daly March 25, 2016 09:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 252
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