-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Description
I am using the nginx-rtmp-module with the following configuration:
`http {
server {
listen 8080;
server_name localhost;
location /control {
rtmp_control all;
}
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet /stat.xsl;
}
location /stat.xsl {
root /usr/local/nginx/html;
}
}
}`
-
/stat works fine, but when I try to access /control, I get a 404 Not Found error.
-
The error log shows the following message:
2024/12/22 20:24:38 [error] 10#10: *12 open() "/usr/local/nginx/html/control" failed (2: No such file or directory), client: 10.244.0.1, server: localhost, request: "GET /control HTTP/1.1", host: "192.168.49.2:31001" -
When I try using curl http://:31001/control, I get the following response:
"
404 Not Found
nginx "
What could be the possible reasons for this issue? How can I fix it?
Metadata
Metadata
Assignees
Labels
No labels