This runs NGINX as Reverse Proxy and enables App Protect
Listens on Port 80 and proxies the request to the back-end application on port 9090 Change the endpoints as required
Note:
Load the NGINX App Protect module on the main context in nginx.conf
file:
load_module modules/ngx_http_app_protect_module.so;
Accessible only from 127.0.0.1 and denied for all other IPs.
Default Security policy has been enabled Note the location of the default policy and edit as required Note the location of the logs and review them as required
On the Virtual Machine:
curl "localhost"
Welcome to nginx!
curl "localhost/?</script>"
Your support ID is: 18381064594571692234
[Go Back]