vesta-nginx source code? Topic is solved
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: vesta-nginx source code?
Re: vesta-nginx source code?
Looks like just a binary to me again...
Inside the file there is just vesta-nginx as a binary at: vesta-nginx-0.9.8-26.x86_64.cpio/./usr/local/vesta/nginx/sbin/
Inside the file there is just vesta-nginx as a binary at: vesta-nginx-0.9.8-26.x86_64.cpio/./usr/local/vesta/nginx/sbin/
Re: vesta-nginx source code?
Perhaps you can tell me what I am missing.
I did extract that the contents of the package. I couldn't find any makefile or and C or CPP files.
I did extract that the contents of the package. I couldn't find any makefile or and C or CPP files.
Re: vesta-nginx source code?
Yes, specially considering that both HestiaCP and MyVesta have build scripts showing how _they_ build their versions of hestia-nginx/vesta-nginx by downloading Ngninx source and then building from them:
https://github.com/hestiacp/hestiacp/bl ... compile.sh
https://github.com/myvesta/vesta/blob/m ... compile.sh
In Vesta, I just see a nginx-vesta.specs for RPMs which looks to assume that the Nginx source code has already been downloaded. I'm not finding an equivalent Debian packages.
https://github.com/hestiacp/hestiacp/bl ... compile.sh
https://github.com/myvesta/vesta/blob/m ... compile.sh
In Vesta, I just see a nginx-vesta.specs for RPMs which looks to assume that the Nginx source code has already been downloaded. I'm not finding an equivalent Debian packages.
Re: vesta-nginx source code?
Those nginx are separated.
Because sometimes there is a need to restart main nginx while you are just in use of panel :)
If it would be one nginx, well, your http request would die in the middle of request.
Re: vesta-nginx source code?
You are right.skydiver wrote: ↑Mon Aug 10, 2020 8:56 pmYes, specially considering that both HestiaCP and MyVesta have build scripts showing how _they_ build their versions of hestia-nginx/vesta-nginx by downloading Ngninx source and then building from them:
https://github.com/hestiacp/hestiacp/bl ... compile.sh
https://github.com/myvesta/vesta/blob/m ... compile.sh
In Vesta, I just see a nginx-vesta.specs for RPMs which looks to assume that the Nginx source code has already been downloaded. I'm not finding an equivalent Debian packages.
Threre is no source-code of official vesta-nginx.
Serghey didn't publish it.
You can only find compiling code that we made form the scratch for our forks - and there is - https://github.com/myvesta/vesta/blob/m ... #L396-L485
It's 100% compatible with official vesta-nginx (i know it because I replaced official vesta-nginx and vesta-php with packages that I built that way for my fork).