deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box

Home Page:https://deployer.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployer not working behind proxy

herbyxxx opened this issue · comments

  • Deployer version: 7.3.3
  • Deployment OS: Windows

When using deployer behind a proxy you keep getting the following error:
In Httpie.php line 201: JSON Error: Syntax error

It keeps making requests to the /load url (on localhost I assume?)

  <p><b>Invalid Request</b> error was encountered while trying to process the request:</p>

  <blockquote id="data">
  <pre>GET /load HTTP/1.1
  User-Agent: Deployer 7.3.3
  Accept: */*
  Proxy-Connection: Keep-Alive
  Content-Type: application/json
  Content-Length: 43
  Host: xxxxx:51353

However in my case the host you send that request to is the proxy itself.

There should be a way to remove the proxy for those request or add a way to add curl options e.g. curl --noproxy "*" ...