Here is an example of spellcheck configuration file for Nginx.# Default server configuration
#
server {
listen 80 default_server;
listen [::]:80 default_server;
# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#
# Note: You should disable gzip for SSL traffic.
# See: https://bugs.debian.org/773332
server_name _;
location /spellcheck/ {
alias /opt/WSC/WebComponents/WebInterface/;
autoindex on;
index index.html index.htm;
location /spellcheck/samples/ {
alias /opt/WSC/WebComponents/Samples/;
autoindex on;
index index.html index.htm;
}
location /spellcheck/wscbundle/ {
alias /opt/WSC/WebComponents/WebInterface/wscbundle/;
autoindex on;
}
}
}
spellcheck