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

Update proxy comment #423

Merged
merged 2 commits into from
Sep 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mapstore/proxy.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link
Member

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

# you should set the list to accept only the targeted host(s) which mapstore need to access
hostnameWhitelist = demo.geo-solutions.it

# mimetype whitelist limit the accepted values for the contentype header in response from the proxied host
Expand Down