Closed landryb closed 5 months ago
cf georchestra/georchestra-gateway#111 for the debian packaging :)
cf https://github.com/georchestra/ansible/tree/gateway for the work branch
tested locally, needed this chunk for the gw to start:
--- a/gateway/routes.yaml
+++ b/gateway/routes.yaml
@@ -37,10 +37,10 @@ spring:
uri: ${georchestra.gateway.services.geoserver.target}
predicates:
- Path=/geoserver/**
- - id: geowebcache
- uri: ${georchestra.gateway.services.geowebcache.target}
- predicates:
- - Path=/geowebcache/**
+ #- id: geowebcache
+ #uri: ${georchestra.gateway.services.geowebcache.target}
+ #predicates:
+ #- Path=/geowebcache/**
some headers are apparently needed for geoserver, otherwise going to https://georchestra.example.org/geoserver redirects to http://localhost:8380/geoserver/web (even with X-Forwarded-Host
/X-Forwarded-Proto
)
other than that logging in and loading console/geonetwork/mapstore seems to work. a toggle in the playbook to decide whether we want to use the s-p or the gw (and send traffic to 8180 or 8980 accordingly) is still needed
@pmauduit can you do a pr from the gateway branch rebased on master so that we can merge it ? please also grab the gwc bit from georchestra/datadir#397 ;)
closed by #134
items:
/srv/log
like other microservices