georchestra / ansible

Ansible playbooks to deploy a fullblown geOrchestra instance
ISC License
16 stars 12 forks source link

test gateway as a replacement for tomcat@proxycas #128

Closed landryb closed 5 months ago

landryb commented 7 months ago

items:

landryb commented 7 months ago

cf georchestra/georchestra-gateway#111 for the debian packaging :)

pmauduit commented 7 months ago

cf https://github.com/georchestra/ansible/tree/gateway for the work branch

landryb commented 7 months ago

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

landryb commented 5 months ago

@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 ;)

landryb commented 5 months ago

closed by #134