Hi, Move " Proxies for REST API " above the"Proxies for Angular UI", everything will be fine.
On Wed, Oct 1, 2025 at 3:02 PM James Will <[email protected]> wrote: > hi, i'm having trouble setting up SSL in dspace 9.1 > i have the following configurations > after doing everything when i try to access it via domain, it does not open > i have this configuration in apache virtualhost file > <VirtualHost *:443> > ServerName mydomain.ac.in > > ProxyPreserveHost On > RequestHeader set X-Forwarded-Proto https > > SSLEngine on > SSLCertificateFile /etc/ssl/certificate.crt > SSLCertificateKeyFile /etc/ssl/certificate.key > > # Proxy for Angular UI > ProxyPreserveHost On > ProxyPass / http://localhost:4000/ > ProxyPassReverse / http://localhost:4000/ > > # Proxy for REST API (DSpace backend) > ProxyPass /server http://localhost:8080/server > ProxyPassReverse /server http://localhost:8080/server > > ErrorLog ${APACHE_LOG_DIR}/dspace_error.log > CustomLog ${APACHE_LOG_DIR}/dspace_access.log combined > </VirtualHost> > > this is in local.cfg > dspace.server.url = https://mydomain.ac.in/server > dspace.ui.url = https://mydomain.ac.in > > > and this is in config.prod.yml > ui: > ssl: false > host: localhost > port: 4000 > > rest: > ssl: true > host: mydomain.ac.in > port: 443 > > > > -- > 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 visit > https://groups.google.com/d/msgid/dspace-tech/CACYTwSmHG5J_FKvugZHR2DNG7cSOtFDXcjnuUEAKvW%3DGMrOE1A%40mail.gmail.com > <https://groups.google.com/d/msgid/dspace-tech/CACYTwSmHG5J_FKvugZHR2DNG7cSOtFDXcjnuUEAKvW%3DGMrOE1A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 visit https://groups.google.com/d/msgid/dspace-tech/CAPWk8RMF1rcSLEbbpBJOEdTZwO1rNp4OFO4B3a1%3DW8T_7N%2BNag%40mail.gmail.com.
