You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Step 1. Install Nginx

$ sudo apt-get update
$ sudo apt-get install nginx

Step 2. Adjust the Firewall

$sudo ufw allow 'NginxHTTP'

Step 3. Check your Web Server

$ systemctl status nginx

Step 4. Create and customize 'server blocks'

$ sudo cd /etc/nginx/sites-available/
$ sudo cp default spellcheck
$ sudo nano spellcheck

Step 5. Create symlink for the 'spellcheck' file

$ ln -s /etc/nginx/sites-available/spellcheck /etc/nginx/sites-enabled/spellcheck

Step 6. Restart Nginx

$ sudo systemctl restart nginx

  • No labels