Page 1 of 1

Upgrade Vestap Internal Nginx ?

Posted: Tue Aug 03, 2021 12:14 pm
by saintmylife
Just to know.

How to upgrade vestacp internal nginx ?
I need newer version for modify access to panel using ssl,
so it can have dynamic ssl for that ( using map function nginx )

Thanks.

Re: Upgrade Vestap Internal Nginx ?

Posted: Tue Aug 03, 2021 12:29 pm
by grayfolk
saintmylife wrote:
Tue Aug 03, 2021 12:14 pm
Just to know.

How to upgrade vestacp internal nginx ?
I need newer version for modify access to panel using ssl,
so it can have dynamic ssl for that ( using map function nginx )

Thanks.
You can build nginx from sources using this man - https://nginx.org/en/docs/configure.html
Use /usr/local/vesta/nginx -V for get vesta-nginx configure params.

Re: Upgrade Vestap Internal Nginx ?

Posted: Tue Aug 03, 2021 1:35 pm
by saintmylife
grayfolk wrote:
Tue Aug 03, 2021 12:29 pm

You can build nginx from sources using this man - https://nginx.org/en/docs/configure.html
Use /usr/local/vesta/nginx -V for get vesta-nginx configure params.
Thanks for your reply.
Ill try it. Thankyou

Re: Upgrade Vestap Internal Nginx ?

Posted: Tue Aug 03, 2021 5:57 pm
by saintmylife
grayfolk wrote:
Tue Aug 03, 2021 12:29 pm

You can build nginx from sources using this man - https://nginx.org/en/docs/configure.html
Use /usr/local/vesta/nginx -V for get vesta-nginx configure params.
I just moved from internal nginx, to my server nginx ( for temporary keeping access ).
Why it cant login ?
Trying to dump the login file ( /web/login/index.php ) in exec vesta command to get the config list,
it show the key, but all the values are empty. Check on exec command, it return status 0, which is success on API Doc. Recheck 'whoami' is admin ( run from login/index.php ). Are my nginx server's settings are wrong ?

Here are the steps i did:
- Copying nginx conf from vesta dir, to my nginx/conf.d
- Stopping vesta service ( and have the nginx and php-fpm vesta is killed )
- Edit the new conf to match the port
- Edit fast-cgi setting to match my server conf.

Web can be access, but i can login. The log says can parse empty string ( the v-list-sys-config ).