You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flask handles redirect from /index -> /index/, when deployed in production behind reverse proxy, the Location header has the correct url under external domain, but the response message uses the internal domain
curl https://data.kidsfirstdrc.org/index/index -v
* Trying 52.44.40.52...
* TCP_NODELAY set
* Connected to data.kidsfirstdrc.org (52.44.40.52) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.kidsfirstdrc.org
* Server certificate: Amazon
* Server certificate: Amazon Root CA 1
* Server certificate: Starfield Services Root Certificate Authority - G2
> GET /index/index HTTP/1.1
> Host: data.kidsfirstdrc.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 301 MOVED PERMANENTLY
< Access-Control-Allow-Origin: *
< Content-Type: text/html; charset=utf-8
< Date: Sun, 17 Jun 2018 18:41:01 GMT
< Location: http://data.kidsfirstdrc.org/index/index/
< Server: nginx
< Set-Cookie: csrftoken=d93b12807e844387feda2700bb17eec12000.0032018-06-17T18:41:01+00:00;Path=/
< Content-Length: 263
< Connection: keep-alive
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
* Connection #0 to host data.kidsfirstdrc.org left intact
<p>You should be redirected automatically to target URL: <a href="http://indexd-service/index/">http://indexd-service/index/</a>. If not click the link.```
The text was updated successfully, but these errors were encountered:
philloooo
changed the title
redirect response with incorrect domain in the message
PXD-819 ⁃ redirect response with incorrect domain in the message
Jun 18, 2018
flask handles redirect from
/index
->/index/
, when deployed in production behind reverse proxy, theLocation
header has the correct url under external domain, but the response message uses the internal domainThe text was updated successfully, but these errors were encountered: