configure nginx server with advanced settings

How to enable SSL certificate on Nginx

First of all, you have to check if your webserver version supports SSL. If SSL is not enabled in your server read more here If the SSL module is installed in your Nginx instance then you have a few simple steps to follow. Generate Certificate Signing Request (CSR) Generate private key Login into the server […]

Recompile Nginx

Create backups for all Nginx files. “cp /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx_old” “cp /usr/local/nginx/conf/nginx.conf /usr/local/nginx/conf/nginx.conf.old” Download all sources and dependencies for Nginx #You can check previous configuration parameters by nginx -V #Download all needed sources wget wget wget nginx-headers.tar.gz wget #Extract them tar -zxvf file.tar.gz Configure the compilation with custom parameters. You can even […]