To upgrade the Active Response Server to NGINX 1.21.0, perform the following steps:
- Open a command-line session as administrator on the Active Response server.
- Download the following rpm packages and place them on the Active Response Server:
- View and note the NGINX version:
Type nginx -v and press Enter.
- Update the rpms in the following order:
- Type rpm -Uvh nginx-1.21.0-1.mlos2.x86_64.rpm and press Enter.
- Type rpm -Uvh nginx-filesystem-1.21.0-1.mlos2.noarch.rpm and press Enter.
- View the NGINX version.
NOTE: The expected version is 1.21.0.
Type nginx -v and press Enter.
- Download the configuration file that's attached to this article to the current working directory.
- Copy the configuration file over to t /etc/nginx/conf.d/:
Type cp -f nginx.conf /etc/nginx/conf.d/default.conf and press Enter.
- Assign execute permissions to NGINX:
Type chmod +x /etc/init.d/nginx and press Enter.
- Restart NGINX:
Type the following commands in order:
service nginx reload
nginx -c /etc/nginx/nginx.conf -t
service nginx restart