Страница 1 из 1
How To Update Nginx and Add Secure_link Module ?
Добавлено: Ср май 26, 2021 5:35 am
vvtubeadmin
hi team , i having issues with Nginx , it consuming most on my RAM , and make my websites slow down ?i think i have to update it to latest version , and other thing is that i need to install ngx_extra module and http_secure_link module on it ? is there anyone who can help me here , please
Re: How To Update Nginx and Add Secure_link Module ?
Добавлено: Ср май 26, 2021 8:16 am
sbury
The nginx update will be coming soon and will be the first for CentOS 8. Now, do not set the keepalive variable to more than 4.
Re: How To Update Nginx and Add Secure_link Module ?
Добавлено: Ср май 26, 2021 11:49 am
vvtubeadmin
ok i will wait , so that this moment , can you help me to optimize Nginx performance in mean time
Re: How To Update Nginx and Add Secure_link Module ?
Добавлено: Вс май 30, 2021 1:54 pm
sbury
new nginx 1.20.1 is available for CentOS 8.
installation:
then reinstall the web sheaf in the panel
new modules available by default:
- ngx_http_secure_link_module
new modules optional:
- nginx-ngx-http-combined-upstreams
how to install optional modules:
Код: Выделить всё
yum install nginx-ngx-http-combined-upstreams
Add its loading manually to /etc/nginx/nginx.conf by analogy with other modules.
After, restart the service:
The new module supports view constructs, for example, as shown below:
Код: Выделить всё
upstream backend {
server s2:<PORT>;
}
upstream clud {
server s1;
}
Re: How To Update Nginx and Add Secure_link Module ?
Добавлено: Ср июн 02, 2021 8:49 pm
vvtubeadmin
Thank you so much for updating me , SO NOW MAY I KNOW HOW MANY keepalive parameter i can set now ? CAN I USE MORE THEN 4 NOW ? DO WE GET apache 2.4.48 ALSO ?