Tech Tip: Simple NGinx configuration for proxying to a 4D Server
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: February 15, 2018
Some deployments have required the use of a Reverse Proxy server in front of the 4D Web Server. Typically people have used Apache or IIS for this, but another alternative that could be used is NGinx (pronounced Engine-X).
NGinx is a simple and lightweight webserver that was developer for serving static pages. It also has a very good proxy engine for proxying requetss to other servers.
Here is a quick and simple configuration that can be used in NGinx to proxy the connection to 4D:
server { |
This configuration is quick and simple to implement. This configuration is also easy to extend with a free certificate from Let's Encrypt, automated with certbot.
See Also: