Why HEAD requests to DigitalOcean Apps are blocked and return status 500?

I have server to deal with trello API, I need to setup the web hook using HEAD request to endpoint

But achieving status 500 in response. The request is not passed to my web server by the logs

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
May 24, 2022


I don’t think that this is specifically related to HEAD requests, as standard GET requests also return 500 errors:

500 error for GET requests

I believe that the that you are trying to access only accepts POST requests. Because if I try to do a POST + HEAD it returns 201:

curl -X POST -LI
// Oputput
HTTP/2 201