Information Classification: External Restricted.
See https://www.chili-publish.com/security

Reverse Proxy on NGINX

CHILI does not officially support setting up a proxy both in support and in functionality. There are some security reasons a solution might consider a proxy. However, it strongly suggested to avoid this method unless 100% necessary.

When using a NGINX web server, adding a reverse proxy for the CHILI server is extremely simple.

In your NGINX web server configuration file (in linux, this can be usually found in /etc/nginx/sites-available/yoursite-config), you will just need to add the following to your server block:

server {
 
    # ...
 
    location /CHILI/ {
        proxy_pass http://www.yourserver.com/CHILI/;
    }
 
	# ...
 
}

Warning

Please keep in mind that Linux, unline Mac OS X or Windows, is case-sensitive. So when NGINX is hosted on a linux OS, you will need to make sure that your URLs are using the same case as in the configuration.

Warning

NGINX reads the configuration and tries to match URLs from top to down. Please make sure that the /CHILI/ location is added in the appropriate order, to prevent NGINX from matching another location first.


More information and more cool stuff that can be done with NGINX can be found in their documentation:

https://www.nginx.com/resources/admin-guide/reverse-proxy/

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security