Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there anyway how to enable such http methods like PUT and DELETE for specific virtual host in ?

I need it for my RESTfull server application.

share|improve this question
up vote 2 down vote accepted

I'm assuming that you're using nginx to proxy to your application. nginx doesn't require any additional configuration to support methods like PUT and DELETE (at least not when using HTTP proxying, not sure about FastCGI).

share|improve this answer
yep you are right thank you. I have tested wrong this is why this question is opened up. – nixer May 23 '12 at 7:46

You must set proxy_http_version 1.1; for PUT to work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.