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/default
Add 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 nginx
Installing the Web files
Unzip the web.zip file into the directory /var/www/html
.
sudo unzip web.zip -d /var/www/html
Last updated
Was this helpful?