Amsterdam / django-gisserver

Django speaking WFS 2.0 to expose geo data
Mozilla Public License 2.0
43 stars 10 forks source link

How to set custom URL? #35

Open rush2sk8 opened 3 days ago

rush2sk8 commented 3 days ago

Currently I run the gisserver in docker behind an nginx proxy. However when I visit the wfs landing page it says:

Add the following URL to your GIS application:

http://test-api:8888/api/wfs/places

I would like it to point to my local dev domain so that the URL would be something like https://mycustomsite.local.com/api/wfs/places. Is there any way to set where it points to? In it's current state when I get the XML the schema urls all point to a localhost address when I want it to point to my domain, this breaks compatibility when loading it in QGis. Any help would be appreciated! Thanks

rush2sk8 commented 3 days ago

Essentially I would need to override server_url