Hi
I've generated a Let's encrypt SSL certificate for my Dspace and i am using
Nginx as reverse proxy.
If i disable ssl in the Nginx everything works properly.
But when i enable ssl the frontend start complaining by show the error:
* No _links section found at https://dspace.univ-tam.dz/server/api*
the rest api works properly
{"dspaceUI": "https://dspace.univ-tam.dz","dspaceName": "DSpace at
University of Tamanrasset","dspaceServer": "
https://dspace.univ-tam.dz/server","dspaceVersion": "DSpace cris-2022.03.00"
,"type": "root","_links": {"actuator": {"href": "
https://dspace.univ-tam.dz/server/actuator"},"auditevents": {"href": "
https://dspace.univ-tam.dz/server/api/system/auditevents"},
..... removed for brevity
the following is the Nginx config
server {
listen 80;
server_name dspace.univ-tam.dz;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name dspace.univ-tam.dz;
ssl_certificate
/etc/letsencrypt/live/dspace.univ-tam.dz-0001/fullchain.pem;
ssl_certificate_key
/etc/letsencrypt/live/dspace.univ-tam.dz-0001/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers
'TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384';
ssl_prefer_server_ciphers on;
location /server {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_pass http://localhost:8080/server;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_pass http://localhost:4000;
}
}
Please help
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/26629928-1be4-4cf8-8814-950f95bc4e78n%40googlegroups.com.