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

feat: usage of http-proxy-middleware for proxies #818

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

petermuessig
Copy link
Member

The ui5-middleware-cfdestination and ui5-middleware-simpleproxy are now using the http-proxy-middleware instead of the former express-http-proxy to support the following features:

Fixes #748 - corporate proxy issue
Fixes #817 - UAA issues
Fixes #816 - deprecated _headers call

@petermuessig petermuessig force-pushed the feat/http-proxy-middleware branch from 9b51793 to 2d0f86e Compare August 31, 2023 05:59
The `ui5-middleware-cfdestination` and `ui5-middleware-simpleproxy`
are now using the `http-proxy-middleware` instead of the former
`express-http-proxy` to support the following features:

* Support for corporate proxy using env variables (see more details
https://www.npmjs.com/package/proxy-from-env#environment-variables)
* Support redirects using the `autoRewrite` option to handle UAA
* Preparation for websocket support to be able to proxy websocket
requrests (#557)
* Get rid of deprecated `_headers` call due to `express-http-proxy`
* Improved test-cases for the `cfdestination` middleware
* Added test-cases for the `simpleproxy` middleware
* Script to generate self-signed certificates automatically added

Fixes #748 - corporate proxy issue
Fixes #817 - UAA issues
Fixes #816 - deprecated `_headers` call
@petermuessig petermuessig force-pushed the feat/http-proxy-middleware branch from 2d0f86e to 5d7f2dc Compare August 31, 2023 06:10
@petermuessig petermuessig merged commit 3d6d844 into main Aug 31, 2023
@petermuessig petermuessig deleted the feat/http-proxy-middleware branch August 31, 2023 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant