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

Proxy server default configuration #373

Closed
FatDoge opened this issue Nov 29, 2019 · 6 comments
Closed

Proxy server default configuration #373

FatDoge opened this issue Nov 29, 2019 · 6 comments
Labels
discussion Talking over coding

Comments

@FatDoge
Copy link

FatDoge commented Nov 29, 2019

Is your feature request related to a problem? Please describe.
I use the postwoman-proxy to create a private proxy server, and I want to use the server url become the default configutarion. There are many files that need to be changed, may be create a common config.json to export the DEFAULT_PROXY_URL?

@liyasthomas
Copy link
Member

@NBTX

@FatDoge
Copy link
Author

FatDoge commented Nov 29, 2019

Also met the CORS problem.I have changed the config.json to fit my private postwoman.
#365

@liyasthomas
Copy link
Member

I think Access-Control-Allow-Origin is only set to allow requests from https://postwoman.io.

@FatDoge
Copy link
Author

FatDoge commented Nov 29, 2019

yep, the default config is that,but I have changed it to my server address.

@liyasthomas liyasthomas added the discussion Talking over coding label Nov 29, 2019
@NBTX
Copy link
Contributor

NBTX commented Dec 1, 2019

You only need to make sure that the page you're accessing postwoman from is included in the allowedOrigins list. If you use the Postwoman app from postwoman.io with your proxy no additional configuration is required.

@FatDoge
Copy link
Author

FatDoge commented Dec 2, 2019

I will test it today and paste the result below.

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

No branches or pull requests

3 participants