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

REST calls on second interface #65

Open
marie-dk opened this issue Sep 10, 2010 · 5 comments
Open

REST calls on second interface #65

marie-dk opened this issue Sep 10, 2010 · 5 comments

Comments

@marie-dk
Copy link

On Wed, Sep 8, 2010 at 11:37 PM, marie_dk [email protected] wrote:
On 9 Sep., 01:53, Michael Carter [email protected] wrote:

This feature doesn't exist, but it wouldn't be terribly difficult to add. To
be clear: You want to only expose the web/rest api over a specific (private)
interface, and the public protocol over another (outward facing) interface?

Yes, exactly that would be great!
You could just add a second interface option which specifies what
interface the rest api should listen to.

Cool, can you make an issue for this on the github tracker? I will make sure it gets into our 0.4.0 release.

-Michael Carter

@slmnhq
Copy link

slmnhq commented Oct 8, 2010

I've submitted a pull request that implements this feature.

@marie-dk
Copy link
Author

http://groups.google.dk/group/hookbox/browse_thread/thread/84a6aa8c1181d328
Michael wrote in this thread, that this addition should implement --web-api-port and --web-api-interface options... but --web-api-interface is missing.

@slmnhq
Copy link

slmnhq commented Oct 24, 2010

  1. Can you please post the exact command that you are using?
  2. Can you please try the "-w" short form instead?

@slmnhq
Copy link

slmnhq commented Oct 24, 2010

I'm sorry I misunderstood the subtle difference between --web-api-port and --web-api-interface.

The former always listens on localhost. I can see the use case where you don't want it to listen on localhost but on a private LAN interface.

It should be a pretty easy enhancement.

@marie-dk
Copy link
Author

I am replicating data between servers with rest calls, and I need these calls to stay private. That is why I wanted to change the interface. The port option on it's own is pretty useless to me :-(
Is there any chance that the --web-api-interface is added in the near future?

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

2 participants