I am in the process of installing DSpace 7 as a production. (Debian 11,
apache2, tomcat9)
I have a problem with SSL ( I have a trusted SSL certificate).
Unfortunately I cannot run the backend and frontend on the same domain
name.
Everything works when I create 2 vhosts with two different domain names:
frontend.test.pl and backend.test.pl in apache and certificates for them.
But when I try to do everything in one vhost and one domain name e.g.
dspace.test.pl, it won't work for me, because in apache vhost you can add
only one proxy-pass.e.g.
ServerName dspace.test.pl
ProxyRequests On
DSpace backend
ProxyPass /server http://localhost:8080/server
ProxyPassReverse /server http://localhost:8080/server
RequestHeader set X-Forwarded-Proto https
DSpace FRONTEND
ProxyPass / http://localhost:4000/
ProxyPassReverse / http://localhost:4000/
What is the best practice, should the frontend and backend be on one domain
name or on two different ones, and what am I doing wrong that it doesn't
work on one domain name
I would prefer it to work on a single domain name, since dspace 6 worked
that way.
Thanks,
Karol
--
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/d24a0469-e957-416b-a62e-7b9fbe52cc9en%40googlegroups.com.