Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Step 1. Install Nginx

Code Block
languagebash
themeEmacs
$ sudo apt-get update
$ sudo apt-get install nginx

Step 2. Adjust the Firewall

Code Block
languagebash
themeEmacs
$sudo ufw allow 'NginxHTTP'

Step 3. Check your Web Server

Code Block
languagebash
themeEmacs
$ systemctl status nginx

Step 4. Create and customize 'server blocks'

Code Block
languagebash
themeEmacs
$ sudo cd /etc/nginx/sites-available/
$ sudo cp default spellcheck
$ sudo nano spellcheck

Excerpt Include
_includes_wsc54x_nginx_wscservice_conf
_includes_wsc54x_nginx_wscservice_conf
nopaneltrue

Step 5. Create symlink for the 'spellcheck' file

Code Block
languagebash
themeEmacs
$ ln -s /etc/nginx/sites-available/spellcheck /etc/nginx/sites-enabled/spellcheck

Step 6. Restart Nginx

Code Block
languagebash
themeEmacs
$ sudo systemctl restart nginx


...