Crmgo Blog

Nginx

← Blog / Linux

Nginx

Posts: 5

Configuring SSL (HTTPS) in Nginx

Configuring SSL (HTTPS) in Nginx

· Nginx

To protect the traffic transmitted between the server and the client, you can use the SSL encryption mechanism. Since nginx often acts as a frontend for Apache, it is better to offload the encryption to it. Using a mass self-signed certificate. Let's configure the use of a single self-signed certificate for multiple…

Nginx SSL

Nginx SSL

· Nginx

To configure an HTTPS server, you need to enable the `ssl` parameter on the listening sockets within the `server` block, and also specify the location of the server certificate and secret key files. The server certificate is public and is sent to every client connecting to the server. The secret key should be kept...

Nginx on CentOS

Nginx on CentOS

· Nginx

yum install nginx Now let's reconfigure Apache. To do this, open /etc/httpd/conf/httpd.conf and change NameVirtualHost to: NameVirtualHost 127.0.0.1:8080. Also, change the opening tag of each virtual host to: <VirtualHost 127.0.0.1:8080>. That's it for Apache. Now go to /etc/nginx and open nginx.conf. So,...

Nginx & FastCG

Nginx & FastCG

· Nginx

To avoid repeatedly launching FastCGI from the console, we will create a script to run the FastCGI daemon and insert the following code into it: *) echo "Usage: $0 {start|stop|restart}" esac Save and exit. Now you can run FCGI as a daemon. From this code, it is clear that the FastCGI server will listen on 127.0.0.1...

Apache & Nginx

Apache & Nginx

· Nginx

You can certainly search for information on why the Apache & Nginx combination is needed in other corners of the vast Internet, but I'm a cyclist, so I'll write it in my own words. During the operation of the Apache web server, it generates a new...