How hid or change Nginx errors

SYSTEM INFORMATION
OS type and version: Ubuntu Linux 20.04.2
Webmin version: Webmin version 1.973
Virtualmin version: Virtualmin version 6.16
Related products version: DNS configuration

Hi
Watch the error in front-ends
this info shouldn’t show to users , is it possible to hid them?

Just create custom html pages for each error (404, 413, etc) and add Nginx directives for each of them.

Thanks , As you might be know I’m newly work with this huge panel
would you please tell me how to do that : Nginx directives for each of them

The changes for this need to be made on your Nginx configuration and not on Virtualmin’s. Check out the official Nginx docs on directives including the one’s you need here.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.