The default_server parameter defines the default server to which a client request will be sent in which the host field is empty or an unknown domain is specified in it. For example, when a client opens the server IP address in a browser, or when the server has several domains, for example, ixnfo.com, test1.ixnfo.com, test2.ixnfo.com, but not all domains are specified in the ngixn configuration.Continue reading “Nginx. Parameter default_server”
In this article I will give an example of setting up constant forwarding http requests to https.Continue reading “Redirect HTTP to HTTPS in Nginx”
For an example of a completed installation of WordPress with Nginx in the operating system Ubuntu Server 18.04.Continue reading “Installing WordPress and Nginx”
Once I installed WordPress on an Ubuntu Server operating system with a Nginx web server and when I tried to add a new article I saw an error:Continue reading “Error solution with REST API “The response is not a valid JSON response” WordPress+Nginx”
I will give an example of setting up forwarding clients without money to the captive portal when connecting to the network.Continue reading “Captive portal. Configuring ncsi redirect”
I will give an example of setting up access by IP in nginx.
Suppose you use the standard nginx configuration file, open it in a text editor:
Continue reading “How to configure IP access in nginx?”
nginx (engine x) — it is a web server and reverse proxy server, as well as a mail proxy server.
Install on Ubuntu with the command:
I will give examples of setting logging for nginx.
To change the log settings, open the nginx configuration file in any text editor:
Continue reading “Setting up nginx logs”