Interesting, I had not considered that. Like I said, the content of the NginX config is from awsdocs so I didn't question this directive since it did what I wanted it to.
As you say, probably not a big deal, but to be more compliant to the spec, maybe something like this would be a better approach.
Interesting, I had not considered that. Like I said, the content of the NginX config is from awsdocs so I didn't question this directive since it did what I wanted it to.
As you say, probably not a big deal, but to be more compliant to the spec, maybe something like this would be a better approach.
Cause I can't see a scenario where you would need it for anything other than GET or HEAD.
Edit: Or maybe the uri is not needed when returning 405... Will have to check the specs in more detail.