nginx: extra include *.conf ignored resulting in 404
nginx: extra include *.conf ignored resulting in 404
I've got kinda a unique setup here. I'm running the latest vesta cp, with nginx. I've followed a guide to build RTMP into the stock nginx copy, which worked great, and that portion is working fine! I'm able to ingest via RTMP which has it's config in
The problem I have is there's a few config pieces that need to go into the section that is attached to the main domain in order for it's stats, player, and the main .m3u8 file to be served. I added an to within where it should be located.
I've restarted nginx without issue, but when I try to go to domain.com/player/ which worked on my old non vestacp install, it still 404's and shows in the error log the server tried serving the page from the admin web directory.
Code: Select all
/etc/nginx/nginx.conf
Code: Select all
server { ... }
Code: Select all
include /home/user/player.conf;
Code: Select all
/home/admin/conf/web/domain.com.nginx.conf
I've restarted nginx without issue, but when I try to go to domain.com/player/ which worked on my old non vestacp install, it still 404's and shows in the error log the server tried serving the page from the admin web directory.