i have installed Dspace 7.6 on a new server.
this will be a production server running ssl, so i have installed apache to 
proxy.

from a network computer, I access https://dspace.domain, the site open with 
error 500.
I access https://dspace.domain/server, the /server/api site open with no 
problem.

from the server i access http://localhost:4000 and the site open with no 
problem.
http://localhost:8080/server and the site open with no problem.

my config below:
local.cfg:
dspace.server.url = http://localhost:8080/server
dspace.ui.url = http://localhost:4000

config.prod.yml:
ui:
  ssl: false
  host: localhost
  port: 4000
  nameSpace: /

rest:
  ssl: false
  host: localhost
  port: 8080
  nameSpace: /server

apache:
dspace.conf
<VirtualHost _default_:443>
    # Add your domain here. We've added "my.dspace.edu" as an example
    ServerName dspace.domain
    #.. setup your host how you want, including log settings...

    # Most installs will need these options enabled to ensure DSpace knows 
its hostname and scheme (http or https)
    # Also required to ensure correct sitemap URLs appear in /robots.txt 
for User Interface.
    ProxyPreserveHost On
    RequestHeader set X-Forwarded-Proto https

    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/Cert2024.pem
    SSLCertificateKeyFile /etc/ssl/private/Cert2024.key

 SSLHonorCipherOrder off
       SSLSessionTickets off
       ProxyPreserveHost on
       RequestHeader set X-Forwarded-Proto https

     <Proxy>
         AddDefaultCharset Off
         Require all granted
     </proxy>

       ProxyPass /server http://localhost:8080/server
       ProxyPassReverse /server http://localhost:8080/server
       ProxyPass / http://localhost:4000/
       ProxyPassReverse / http://localhost:4000/

</VirtualHost>


Please assist where and config i need to change to get the proxying to work?


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1e0cd92c-5236-4643-adf3-f00c1eda62acn%40googlegroups.com.

Reply via email to