Is there any way to remove the "nginx" word in the 403/Forbidden error response?

Hi,

We noticed that out-of-box, when NGINX returns a Forbidden response (specifically, when whitelist is configured in NGINX, and inbound IP is not in the whitelist) it includes the word “nginx”, and we were wondering if there is any way NOT have that appear in the error response message?

Thanks,
Jim

Create a custom error page: Create an HTML file with the contents you want for your error message.

Configure NGINX to use the custom error page:

Edit your NGINX configuration file to use the custom error page for 403 Forbidden errors.

Reload NGINX to apply the changes: After making these changes, reload NGINX to apply the new configuration:

You might get some insights from the NGINX Documentation on configuration under the “Handling Errors” section

Hope this helps.
davemc

Oh yeah. Even though this may mention Plus, at the top it says it works forth OSS core and Plus, but they are just using Plus everywhere.