-
Notifications
You must be signed in to change notification settings - Fork 33
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
Update proxy comment #423
Update proxy comment #423
Conversation
mapstore/proxy.properties
Outdated
@@ -17,8 +17,8 @@ defaultStreamByteSize=1024 | |||
# White lists, if defined, limit the requests that are accepted and handled by the proxy. Any request that is not | |||
# matching a defined whitelist will be rejected. | |||
|
|||
# hostname whitelist limit the accepted requesting hosts (where the client application is hosted), to avoid the proxy being used by anyone | |||
# you should set the list to accept only the host(s) where mapstore is deployed | |||
# hostname whitelist limit the accepted target hosts (where the proxy is permitted to forward to) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hostnameWhitelist defines the accepted target hosts for the internal proxy.
The list should be set to the hosts whose CORS headers do not allow direct access
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
To mention targeted host instead of requesting hosts:
See code here : https://github.com/geosolutions-it/http-proxy/blob/master/src/main/java/it/geosolutions/httpproxy/ProxyConfig.java#L44