Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Debugging X-Forwarded-Host for asset requests v2
2018/01/23 16:17:58 [debug] 18102#0: *15 http header: "Host: assets-origin.dev.gov.uk"
2018/01/23 16:17:58 [debug] 18102#0: *15 http header: "Connection: keep-alive"
2018/01/23 16:17:58 [debug] 18102#0: *15 http header: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safar
i/537.36"
2018/01/23 16:17:58 [debug] 18102#0: *15 http header: "Upgrade-Insecure-Requests: 1"
2018/01/23 16:17:58 [debug] 18102#0: *15 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
2018/01/23 16:17:58 [debug] 18102#0: *15 http header: "Accept-Encoding: gzip, deflate"
2018/01/23 16:17:58 [debug] 18102#0: *15 http header: "Accept-Language: en-GB,en-US;q=0.9,en;q=0.8"
GET /media/5a67581d759b7424f4e81ba1/README.md?jm345 HTTP/1.0
X-Forwarded-Host: assets-origin.dev.gov.uk
Host: static.dev.gov.uk
Connection: close
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Upgrade-Insecure-Requests: 1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Cookie: _ga=GA1.4.905553781.1505829170; seen_cookie_message=yes; _whitehall_session=VTlCa04zZkozdG5sQUxseE1GSTEwUWk0NzJncWdPMFZOZzErTW03T3FoZ3lrZ285ZWZQVEJYRmtVSkhHdnZRamU3eGhpdG10am5uT2o2MjBNSHEvMlVCaUI2TkNvcVg4WnkzdDFabE9FM0o3YjdLbGdVUlNMNk1rNmprQ0REOUZqNWhvdTBmWERNU3NXQnk0cUlxN3VYWlJIR3prbjRUYURnVlFzYWNHRkh3VFJVYytnS2VJYldTWTBlaVZLakpKLS1zc05FaHBYb2gwdUg3NTRqUEtRdTVnPT0%3D--1da53d8a78b57db46d8ae389400d32fe656cda61; _asset-manager_session=Q2g5TENuR0M3UVE0YVBabm1KYklMb1RQSTlMU09ZV0txOFhMSlhZdGJMOEsrT05mYUkrM0pHM1VtbU51QmR4TVNwRGtHaDN4Z0g4YUIzQ0hERUFMSlZGbGFWRWlTbTBCZzMwOVFKc2tvNjlwNXFPZVpLTWJDd1BubnkyMlQ3czdRNzFWK1lkZkd1MXoxVFRyQmpyWWtQL3dmc2x6L2hSV3FqM2pndkFBd0RxT1JoU3cxOXZmY1lSby9JUDJiL0VuSWtjbDM2ckE0cWhxdEpMQ05XM2hPZldtNkNIUjBCRG9CeEZaZ1Z2QjM5dWFRZ1FaK1ZIQ2RYSjI0dHdNVCs2NS0tTHNXc2ZJZ1JLL2pxWUxycktBK3hDUT09--b6c242d2b72d561a71d4faf435e37dfdf00e38b3
2018/01/23 16:17:58 [debug] 18102#0: *17 http header: "Host: static.dev.gov.uk"
2018/01/23 16:17:58 [debug] 18102#0: *17 http header: "Connection: close"
2018/01/23 16:17:58 [debug] 18102#0: *17 http header: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safar
i/537.36"
2018/01/23 16:17:58 [debug] 18102#0: *17 http header: "Upgrade-Insecure-Requests: 1"
2018/01/23 16:17:58 [debug] 18102#0: *17 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
2018/01/23 16:17:58 [debug] 18102#0: *17 http header: "Accept-Encoding: gzip, deflate"
2018/01/23 16:17:58 [debug] 18102#0: *17 http header: "Accept-Language: en-GB,en-US;q=0.9,en;q=0.8"
GET /media/5a67581d759b7424f4e81ba1/README.md?jm345 HTTP/1.0
Host: asset-manager.dev.gov.uk
X-Real-IP: 127.0.0.1
X-Forwarded-Server: static.dev.gov.uk
X-Forwarded-For: 127.0.0.1
X-Forwarded-Host: static.dev.gov.uk
Connection: close
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Upgrade-Insecure-Requests: 1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Cookie: _ga=GA1.4.905553781.1505829170; seen_cookie_message=yes; _whitehall_session=VTlCa04zZkozdG5sQUxseE1GSTEwUWk0NzJncWdPMFZOZzErTW03T3FoZ3lrZ285ZWZQVEJYRmtVSkhHdnZRamU3eGhpdG10am5uT2o2MjBNSHEvMlVCaUI2TkNvcVg4WnkzdDFabE9FM0o3YjdLbGdVUlNMNk1rNmprQ0REOUZqNWhvdTBmWERNU3NXQnk0cUlxN3VYWlJIR3prbjRUYURnVlFzYWNHRkh3VFJVYytnS2VJYldTWTBlaVZLakpKLS1zc05FaHBYb2gwdUg3NTRqUEtRdTVnPT0%3D--1da53d8a78b57db46d8ae389400d32fe656cda61; _asset-manager_session=Q2g5TENuR0M3UVE0YVBabm1KYklMb1RQSTlMU09ZV0txOFhMSlhZdGJMOEsrT05mYUkrM0pHM1VtbU51QmR4TVNwRGtHaDN4Z0g4YUIzQ0hERUFMSlZGbGFWRWlTbTBCZzMwOVFKc2tvNjlwNXFPZVpLTWJDd1BubnkyMlQ3czdRNzFWK1lkZkd1MXoxVFRyQmpyWWtQL3dmc2x6L2hSV3FqM2pndkFBd0RxT1JoU3cxOXZmY1lSby9JUDJiL0VuSWtjbDM2ckE0cWhxdEpMQ05XM2hPZldtNkNIUjBCRG9CeEZaZ1Z2QjM5dWFRZ1FaK1ZIQ2RYSjI0dHdNVCs2NS0tTHNXc2ZJZ1JLL2pxWUxycktBK3hDUT09--b6c242d2b72d561a71d4faf435e37dfdf00e38b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment