Step 1. Install Nginx. Below in the example, at first we are updating the local package index so that we can access to the most recent package listings. Afterwards, we are installing Nginx and any required dependencies on the server.
Step 2. Adjust the Firewall. Allow the traffic on port 80 using Nginx HTTP. Depending on your requirements, you can also open port 443 specifying Nginx HTTPS instead (TLS/SSL encrypted traffic).
Step 3. Check status of Nginx.
Step 4. Create and customize per-site "server blocks". On this step we need to create the spellcheck configuration file in the /etc/nginx/sites-available/ directory which will be later link to the sites-enabled directory.
Step 5. Create symlink for the 'spellcheck' configuration file. Now we are linking the spellcheck configuration file from /etc/nginx/sites-available/ directory with /etc/nginx/sites-enabled/.
Step 6. Restart Nginx. To apply changes it is recommended to restart Nginx.
|