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

Enable usage of endpoints #383

Merged
merged 1 commit into from
Jun 26, 2020
Merged

Enable usage of endpoints #383

merged 1 commit into from
Jun 26, 2020

Conversation

hwbllmnn
Copy link
Member

@hwbllmnn hwbllmnn commented Jun 26, 2020

This enables e.g. requesting capabilities via http://localhost/shogun2-webapp/geoserver.action/SHOGUN?request=GetCapabilities&service=WMS

Instead of having to send a bogus LAYERS parameter this enables the use of the geoserver.action to actually work as a WMS endpoint e.g. or usage in qgis.

Prerequisite for correct URLs appearing in the capabilities document is that the headers x-forwarded-proto and x-forwarded-host are properly set in requests if behind a reverse proxy.

@terrestris/devs Please review.

@hwbllmnn hwbllmnn marked this pull request as ready for review June 26, 2020 10:34
@hwbllmnn hwbllmnn merged commit 494c9ad into terrestris:master Jun 26, 2020
@hwbllmnn hwbllmnn deleted the fix-custom-endpoints branch June 26, 2020 11:47
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

Successfully merging this pull request may close these issues.

2 participants