Hello Sidney, A local DNS server can easily solve the problem.
середу, 20 грудня 2023 р. о 13:32:18 UTC+2 Sidney Campos пише: > *Good morning!* > > *I continue on my mission to make DSpace work perfectly on my Windows 10 > server* > > With the current settings, I can access DSpace on the server via > https://fevasf-repositorio.ddns.net. I can also access it from outside > the local network. However, I am unable to access it from other computers > on the local network, under the same gateway as the server. > > I can only access it on the local network when I add the entry > 192.168.100.199 fevasf-repositorio.ddns.net to the hosts files on the > computers in the LAN. This is not a suitable solution as students will be > accessing it via WiFi using the same network as the computer and won't be > able to connect. > > I can access using <IP-Server>:4000 on local network machines, but it > redirects to error 500 after some seconds. > > I am using DSpace 7 with Nginx, Tomcat, and Windows 10. > > *My Nginx configuration is as follows:* > > server { > listen 80; > server_name fevasf-repositorio.ddns.net; > rewrite ^ https://fevasf-repositorio.ddns.net permanent; > } > > server { > listen 443 ssl; > server_name fevasf-repositorio.ddns.net; > > root "C:/Program Files/Apache Software Foundation/Tomcat 9.0/webapps"; > > ssl_certificate C:/nginx-1.25.3/certs/fullchain.pem; > ssl_certificate_key C:/nginx-1.25.3/certs/privkey.pem; > > location /server { > proxy_set_header X-Forwarded-Proto https; > proxy_set_header X-Forwarded-Host $host; > proxy_pass http://localhost:8080/server; > } > > location / { > proxy_set_header X-Forwarded-Proto https; > proxy_set_header X-Forwarded-Host $host; > proxy_pass http://localhost:4000; > } > } > > *My Windows hosts file contains:* > > 192.168.100.199 fevasf-repositorio.ddns.net > > *My DSpace configuration is:* > > ui: > ssl: false > host: fevasf-repositorio.ddns.net > port: 4000 > nameSpace: / > > rateLimiter: > windowMs: 60000 # 1 minute > max: 500 # limit each IP to 500 requests per windowMs > useProxies: true > > rest: > ssl: true > host: fevasf-repositorio.ddns.net > port: 443 > nameSpace: /server > > *My DSpace configuration is:* > > ui: > ssl: false > host: localhost > port: 4000 > nameSpace: / > > rateLimiter: > windowMs: 60000 # 1 minute > max: 500 # limit each IP to 500 requests per windowMs > useProxies: true > > rest: > ssl: true > host: fevasf-repositorio.ddns.net > port: 443 > nameSpace: /server > > Is there any missing configuration? Please help me troubleshoot this > issue. > > > -- 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/0556a593-03b1-409d-986c-b585edee7f2bn%40googlegroups.com.