Installing the web server
Configuring Nginx
Edit the default server configuration of Nginx by running the following command in the terminal:
sudo nano /etc/nginx/sites-available/defaultAdd the following location block to the server configuration:
location /rest {
proxy_pass http://localhost:8080/rest;
}Save the changes and close the file. Restart Nginx for the changes to take effect:
sudo systemctl restart nginxInstalling the Web files
Unzip the web.zip file into the directory /var/www/html.
sudo unzip web.zip -d /var/www/htmlLast updated
Was this helpful?