How To Update Nginx and Add Secure_link Module ?
-
- Сообщения: 29
- Зарегистрирован: Пн фев 08, 2021 11:31 am
How To Update Nginx and Add Secure_link Module ?
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 ?
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.
-
- Сообщения: 29
- Зарегистрирован: Пн фев 08, 2021 11:31 am
Re: How To Update Nginx and Add Secure_link Module ?
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 ?
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:
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:
installation:
Код: Выделить всё
yum clean all
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
After, restart the service:
Код: Выделить всё
systemctl restart nginx
Код: Выделить всё
upstream backend {
server s2:<PORT>;
}
upstream clud {
server s1;
}
-
- Сообщения: 29
- Зарегистрирован: Пн фев 08, 2021 11:31 am
Re: How To Update Nginx and Add Secure_link Module ?
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 ?