Report this

What is the reason for this report?

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

Posted on March 17, 2020

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.



This textbox defaults to using Markdown to format your answer.

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

What you could suggest doing is to manage this on application level rather than relaying on your webserver to handle this.

Have you managed to get a solution for this?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.