Welcome! Log In Create A New Profile


unknown directive "flv"

March 25, 2016 02:22PM

I have compiled nginx with allmodules:

nginx version: nginx/1.9.12
built by gcc 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
built with OpenSSL 1.0.2d 9 Jul 2015
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-file-aio --with-pcre --with-file-aio --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -DTCP_FASTOPEN=23' --with-ld-opt='-Wl,-z,relro -Wl,--as-needed -L /usr/lib' --with-ipv6 --with-debug --without-http_scgi_module --without-http_uwsgi_module --add-module=/home/ubuntuadmin/nginx-rtmp-module

But why can't nginx start when I add this to nginx.conf:

location ~ .flv$ {

It gives this:
2016/03/25 18:59:14 [emerg] 4643#0: unknown directive "flv" in /usr/local/nginx/conf/nginx.conf:63

Best regards
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: 96
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