Guide – How To Start – Reverse Proxy Server + NginX on Ubuntu 18.04

Reverse Proxy Server + NginX on Ubuntu 18.04 is an intermediary proxy service that takes a client request, passes it on to one or more servers, and subsequently delivers the server’s response back to the client.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

The guide on how to work with the Reverse Proxy Server + NginX on Ubuntu 18.04

  1. After purchasing and starting the VM you should know its IP address. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).
  1. To work, you must open port 443 (TCP) and 80 (TCP) in the network properties in the azure firewall.
  2. To connect to a VM, you need the PuTTy application to connect via ssh. You can download it at the following link – Download
  3. Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console you should enter a username and password that were specified when creating the virtual machine.
  2. Next, you should check that Nginx is running. This can be done with the command:

> sudo systemctl status nginx

The configuration files/modules can be found in /etc/nginx

Added and commented out directive for proxying to vim/etc/nginx/sites-available/default configuration file.

/# proxy_pass http://backend;

Documentation on setting up the following can be found on the following links below:

https://docs.nginx.com/nginx/admin-guide/basic-functionality/runtime-control/

https://nginx.org/en/docs/

WordPress.com.

Up ↑

%d bloggers like this: