Hi, this is my configuration: local.cfg
dspace.server.url = https://dspace.test.pl/server dspace.ui.url = https://dspace.test.pl config.prod.yml ui: ssl: false host: dspace.test.pl port: 4000 nameSpace: / rest: ssl: true host: dspace.test.pl port: 443 nameSpace: /server and now vhost-ssl.conf in apache looks like: ProxyRequests off - thanks Mark 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/ errors only appear in apache error.log (pm2 , catalina, dspace.log is clear) [Wed Jun 22 12:52:54.365946 2022] [proxy:error] [pid 47109:tid 140596472973056] (111)Connection refused: AH00957: http: attempt to connect to 127.0.0.1:4000 (localhost) failed [Wed Jun 22 12:52:54.365985 2022] [proxy_http:error] [pid 47109:tid 140596472973056] [client :51090] AH01114: HTTP: failed to make connection to backend: localhost And i checked: https://dspace.test.pl/server works fine - i see api and response 200 success. Problem is with frontend https://dspace.test.pl/ Thanks, Karol wtorek, 21 czerwca 2022 o 19:23:26 UTC+2 Mark H. Wood napisaĆ(a): > On Tue, Jun 21, 2022 at 11:48:02AM -0500, 'Bill Tantzen' via DSpace > Technical Support wrote: > > It looks as if your setup is similar to mine, but your apache directives > > are a bit different from the ones suggested in the installation docs ( > > https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace) for both the > > frontend and the backend -- can you comment on your tweaks? > > Let's see: > > o <Location "/dspace-v7/"> because I have several distinct instances > of DSpace deployed on the box, and this one is named "dspace-v7". > > o "ProxyPass ajp://[::1]:8509/dspace-v7" because I am running several > versions of Tomcat on the box, and that particular instance is > listening for AJP on 8509 rather than the normal 8009. > > o The front-end stuff is all because I'm running the front-end raw > rather than in PM2. I needed to ensure that HTTPD doesn't try to > pool connections to it. I should review these settings to see if I > really need them all. > > o I have separate ProxyPass and ProxyPassReverse, rather than tucking > it all into the second <Location/>, because the single-argument > form doesn't take options. > > > On Tue, Jun 21, 2022 at 9:47 AM Mark H. Wood <[email protected]> wrote: > > > # DSpace v7 demo back-end > > > <Location "/dspace-v7/"> > > > ProxyPass ajp://[::1]:8509/dspace-v7/ > > > </Location> > > > > > > # DSpace v7 demo front-end > > > <Location "/"> > > > SetEnv proxy-nokeepalive 1 > > > SetEnv proxy-initial-not-pooled 1 > > > </Location> > > > ProxyPass "/" "http://localhost:4000/" disablereuse=On max=1 > > > ProxyPassReverse "/" "http://localhost:4000/" > > -- > Mark H. Wood > Lead Technology Analyst > > University Library > Indiana University - Purdue University Indianapolis > 755 W. Michigan Street > Indianapolis, IN 46202 > 317-274-0749 <(317)%20274-0749> > www.ulib.iupui.edu > -- 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/2f7ecab3-aad5-429e-8d42-f87ac2f7ad59n%40googlegroups.com.
