how to show nginx 403 forbidden instead of xml access denied message in digitalocean spaces acess denied?

Posted March 17, 2020 140 views
NginxBlock Storage

i have setup spaces and cdn with custom domains and files permission. the one thing that annoy me is the xml access denied message of spaces access denied. how to change this page so that whenever access denied is occurred, nginx would show the nginx 403 forbidden instead of default xml access denied message.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!