Unable to find redirect cause

We’re trying to deploy geoserver 2.27.2 to replace an older version. We are behind an AWS LB so I only need http. After deployment, when we curl the localhost on 8080, we are getting an HTTP 302 redirect with an invalid location. This is probably a tomcat config change but I can’t seem to figure out what change is needed. Any help would be appreciated.

[root@aws03vmap01.prd: /home/robert.adams]# curl -v http://localhost:8080/geoserver/web/

  • Trying 127.0.0.1…
  • TCP_NODELAY set
  • Connected to localhost (127.0.0.1) port 8080 (#0)

GET /geoserver/web/ HTTP/1.1
Host: localhost:8080
User-Agent: curl/7.61.1
Accept: /

< HTTP/1.1 302< X-Content-Type-Options: nosniff< X-Frame-Options: SAMEORIGIN< Content-Security-Policy-Report-Only: default-src ‘none’; script-src ‘strict-dynamic’ ‘nonce-QdNC4cKiBbZk6_o0XZhWQYo6’; style-src ‘nonce-QdNC4cKiBbZk6_o0XZhWQYo6’; img-src ‘self’ data:; connect-src ‘self’; font-src ‘self’; manifest-src ‘self’; child-src ‘self’; base-uri ‘self’; frame-src ‘self’;, form-action ‘self’; frame-ancestors ‘self’;< Set-Cookie: JSESSIONID=EA18FFE99C9AE96F6613BBEC538AB450; Path=/geoserver; HttpOnly< Cross-Origin-Opener-Policy: same-origin< Cross-Origin-Embedder-Policy-Report-Only: require-corp< Date: Thu, 23 Oct 2025 15:02:38 GMT< Expires: Thu, 01 Jan 1970 00:00:00 GMT< Pragma: no-cache< Cache-Control: no-cache, no-store< Location: ./?0< Content-Length: 0<

Connection #0 to host localhost left intact