Re: External access to DSPACE

115 views
Skip to first unread message
Message has been deleted

Andre

unread,
Feb 26, 2024, 8:34:49 AM2/26/24
to DSpace Technical Support
Our network is behind Nginx server, port 80 is forwarded to internal server with DSpace 7 BACKEND + FRONT-END in local network
Is it possible to configure Dspace access to port 80 or only HTTPS (443)?
What other ports should be open for a local server with DSPACE on Nginx?

понеділок, 26 лютого 2024 р. о 14:20:57 UTC+2 Андрій Г. пише:
Please help to set up Dspace for external access. How not to use port 8080?
In the local network, everything works.

dspace8080.png

Matyas F. Bajger

unread,
Feb 26, 2024, 9:33:03 AM2/26/24
to Andre, DSpace Technical Support

Hello!

It would not be really a good idea to open Tomcat port 8080 or even configure it to secure connection on some other (8443 etc) and open it.

We have configured dspace to acces http(s) backend on url containing the path /server  on common 443 https port.
In .../config/local.cfg it's parameter:
dspace.server.url = https://{{repository.institution.xx}}/server

We use Apache that we have set to redirect the path /server to local :8080 port using Proxy:
ProxyPass "/server" "http://localhost:8080/server"
ProxyPassReverse "/server" "http://localhost:8080/server"

In similar way using Apache proxy we have also configured an access to OAI server (we offer more possibilities of url syntax as to word "request" or slash:
ProxyPass "/oai" "http://localhost:8080/server/oai"
ProxyPassReverse "/oai" "http://localhost:8080/server/oai"
ProxyPass "/oai" "http://localhost:8080/server/oai/?"
ProxyPassReverse "/oai" "http://localhost:8080/server/oai/request?"
ProxyPass "/oai" "http://localhost:8080/server/oai?"
ProxyPassReverse "/oai" "http://localhost:8080/server/oai/request/?"

It all works and I hope it could be applicable to other environments too.

Best,

Matyas F. Bajger

library systems IT administrator
University of Ostrava, University Library
https://library.osu.eu


Dne 26.02.2024 v 14:34 Andre napsal(a):
--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/0a3f603f-aea6-473f-b9ad-68739d14ad92n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages