1

I am using DigitalOcean Spaces. How do I change the XML access denied page to Nginx 403 forbidden page

https://i.stack.imgur.com/SawNX.jpg

kenlukas
  • 3,101
  • 2
  • 16
  • 26

1 Answers1

0

In this example configuration for a S3 Gateway, S3 API 403 errors get rewritten to 404 errors. You could possibly modify the configuration so that you could present NGINX 403 errors instead of 404 errors as the example uses.

Elijah
  • 537
  • 2
  • 8
  • 17