Hi, It sounds like your Nginx setup isn't working properly... but it's hard to say exactly *why*. You may want to check the Nginx logs, as it could be a simple misconfiguration or similar.
Port 4000 (or any "localhost" style URLs) won't be available from a different host. This is why you need Nginx (or Apache) to turn that localhost URL into an actual hostname/domain (like "demo.dspace.org"). The localhost URLs will only work from the same machine that site is on... so they are really only useful for development/quick testing. Tim On Thursday, August 3, 2023 at 6:16:26 AM UTC-5 [email protected] wrote: > Hi there, > > I followed the instruction here: > https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-FrontendRequirements > > I used NGinx and on frontend installation: > > - step 5; used YAML configuration > - step 6: run via PM2 > > Everything went well but after finishing up the last part (step 8, add > HTTPS support): > > - accessing https://host.domain.com shows: 502 Bad Gateway > can still access backend (https://host.domain.com/server) > - can't access http://localhost:4000 anymore, shows: 500 Service > Unavailable > if I revert the *dspace.ui.url* back to default (http://localhost:4000), > it works > > Also, seems like port 4000 is not accessible from different host. > Not sure where to go from here so really appreciate any help/hint/anything. > > Thank you in advance. > -- 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/ed8dbaa5-1704-4b32-a3aa-8fb32886b5d8n%40googlegroups.com.
