Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods PUT and DELETE not allowed #57

Closed
jfsimon opened this issue Apr 12, 2016 · 3 comments
Closed

Methods PUT and DELETE not allowed #57

jfsimon opened this issue Apr 12, 2016 · 3 comments

Comments

@jfsimon
Copy link

jfsimon commented Apr 12, 2016

Hello,

Not really sure this is the best place to post this issue I'm having with my node.js application, but I can't find any resource on this subject. My application is a HTTP API built with node.js and pushed on a Cloud Foundry server (Bluemix) using this buildpack.

When I send GET or POST requests everything is fine, but when I send PUT or DELETE requests I receive 405 Not Allowed response.

Here is my manifest.yml:

applications:
- name: api
  buildpack: https://github.com/cloudfoundry/buildpack-nodejs.git
  env:
    NODE_MODULES_CACHE: false

And this is the response body:

<html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx</center>
</body>
</html>
  • Am I missing something?
  • Is there a way to configure the Nginx server?

Thanks for reading!

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/117470117.

@davidjahn
Copy link
Contributor

Hi @jfsimon , if your app is staging with no error, this is most likely a Bluemix issue rather than a buildpack issue. nginx is not part of the nodejs-buildpack. It may be that Bluemix is using nginx in its system in some way, but I would suggest talking to their support.

@jfsimon
Copy link
Author

jfsimon commented Apr 12, 2016

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants