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

Feature Request: Proxy Support #184

Open
ryanewtaylor opened this issue Nov 15, 2024 · 0 comments
Open

Feature Request: Proxy Support #184

ryanewtaylor opened this issue Nov 15, 2024 · 0 comments

Comments

@ryanewtaylor
Copy link

My help documentation, served at http://localhost:3000/ needs to make fetches to external resources via relative paths, in different environments (i.e., dev, integration, staging, and production). It would be very helpful to support proxying during local dev with sphinx-autobuild so that I can redirect requests the relative requests to the appropriate endpoint. I am thinking something similar to what webpack dev server does.

--proxy="context:'/rel/url1' target='/target/url1' secure=false"
--proxy="context:'/rel/url2' target='/target/url2' secure=true"
--proxy="context:'/rel/url3' target='/target/url3' secure=false"
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

1 participant