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

test gateway as a replacement for tomcat@proxycas #128

Closed
landryb opened this issue Mar 20, 2024 · 5 comments
Closed

test gateway as a replacement for tomcat@proxycas #128

landryb opened this issue Mar 20, 2024 · 5 comments
Assignees

Comments

@landryb
Copy link
Member

landryb commented Mar 20, 2024

items:

  • as both the s-p & the gateway should be available in 24.0 (cf [GIP] Replace Security Proxy by new Gateway component improvement-proposals#8) it should be a toggle in the playbook
  • gateway/security.yaml needs to be templated for at least ldap baseDn / admin dn/pass
  • systemd unit for gateway microservice
  • nginx vhost from switch from apache to nginx #127 should point to the gateway port instead of 8180 that was used by proxycas (or make gateway listen on 8180 ?)
  • logging to /srv/log like other microservices
  • what options to put in the env for spring boot startup ?
@pmauduit pmauduit self-assigned this Mar 20, 2024
@landryb
Copy link
Member Author

landryb commented Mar 20, 2024

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

@pmauduit
Copy link
Member

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

@landryb
Copy link
Member Author

landryb commented Mar 21, 2024

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
Copy link
Member Author

landryb commented Jun 3, 2024

@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
Copy link
Member Author

landryb commented Jun 3, 2024

closed by #134

@landryb landryb closed this as completed Jun 3, 2024
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

No branches or pull requests

2 participants