New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can the RTMP block be used inside the sites-enabled directory? #1492
Comments
see https://github.com/arut/nginx-rtmp-module/wiki/Directives#rtmp |
Can the sites-enabled be excluded from the HTTP block and still be picked by the nginx.conf still, or will it not work that way? Inside the /etc/nginx/nginx.conf could I place the following?
|
Please do not do this kind of mixing files, they are different kind, it will make things complicated and error prone.
anyway, if you still want to put them in same folder, you can use different file name pattern(for example different file name extension).
|
Sadly appending an extension to the file that holds my RTMP block and then modifying the nginx.conf file still doesn't work.
|
@firewire10000 You are redefining If your
You should remove the
|
My RTMP block works perfectly inside the /etc/nginx/nginx.conf but as soon as I add it into a file under /etc/nginx/sites-enabled directory I get error messages. My simple question can RTMP blocks be read from the sites-enabled directory? If so how do I get it to work please?
The text was updated successfully, but these errors were encountered: