Dear team,

*I install the DSpace 7.4  Backend successfully in AWS ubuntu 22.04 server 
and It is accessible through MYIP:8080/server*

*and I install the UI also and I did the test run it is also successful but 
I unable to access it through myIP:4000*

root@ip-XX-XXX-XX-X:/opt/dspace-7-angular/config# *yarn test:rest*
yarn run v1.22.19
$ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts
Building production app config
Overriding app config with /opt/dspace-7-angular/config/config.yml
Overriding app config with /opt/dspace-7-angular/config/config.prod.yml
...Testing connection to REST API at http://localhost:8080/server/api...

RESPONSE: 200

Checking JSON returned for validity...
        "dspaceVersion" = DSpace 7.4
        "dspaceUI" = http://localhost:4000
        "dspaceServer" = http://localhost:8080/server
        "dspaceServer" property matches UI's "rest" config? true
        Does "/api" endpoint have HAL links ("_links" section)? true
Done in 4.33s.


*then I install the nginx and I paste this 
in /etc/nginx/sites-enabled/default :--*

server { listen 80; 
              server_name localhost; 
              access_log /var/log/nginx/dspace-access.log; 
              error_log /var/log/nginx/dspace-error.log; 
     location / { 
                       proxy_set_header X-Forwarded-Host $host; 
                       proxy_set_header X-Forwarded-Server $host; 
                       proxy_set_header X-Forwarded-For 
$proxy_add_x_forwarded_for;
                       proxy_pass http://localhost:4000/; 
                 } 
          }

*then it is accessible by myIP:80 but it through 500 error, Please help me 
to solve this issue*

*Thanks,*
*AFA*

-- 
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/e1f174cb-9ede-4e73-b631-47cca717cc90n%40googlegroups.com.

Reply via email to