EIDA / wfcatalog

EIDA NG WFCatalog implementation
5 stars 8 forks source link

Enabling HTTPS for wfcatalog? #28

Closed jan-michalek closed 2 years ago

jan-michalek commented 2 years ago

I initially thought that enabling HTTPS for the service is only server configuration. Can anyone provide insight what needs to be changed to allow HTTPS for wfcatalog? I didn't make any changes to FDSN STATION or DATASELECT after enabling HTTPS and those both work. Not wfcatalog (availabiliy, metrics).

jschaeff commented 2 years ago

we make https through our reverse proxy (haproxy) and it just works :

https://ws.resif.fr/eidaws/wfcatalog/1/

I would recommend not touching the webservice itself but configure the revers proxy (httpd, nginx, haproxy, ...)

jan-michalek commented 2 years ago

Indeed, our wfcatalog is also working over HTTPS (using revers proxy). The web tools (availability, metrics) for wfcatalog were not working due to hardwired URL. Fixed.