Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

nginx: extra include *.conf ignored resulting in 404

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
andrewc2
Posts: 2
Joined: Mon Jan 07, 2019 3:20 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
nginx: extra include *.conf ignored resulting in 404
  • Quote

Post by andrewc2 » Mon Jan 07, 2019 3:40 pm

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

Code: Select all

/etc/nginx/nginx.conf
The problem I have is there's a few config pieces that need to go into the

Code: Select all

server { ... }
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

Code: Select all

include /home/user/player.conf;
to

Code: Select all

/home/admin/conf/web/domain.com.nginx.conf
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.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password