• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

18F / hub / 1973
77%
18f-pages-internal: 78%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 18f-pages-internal
Ran 27 Aug 2015 08:28PM UTC
Jobs 1
Files 31
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1973

push

travis-ci

mbland
Bust proxy_pass DNS cache; restore proxy 'Host:'

Two problems arose with https://tock.18f.gov/ last night.

Problem the first, the original IP address for https://tock-app.18f.gov/
expired. nginx actually caches DNS responses for `proxy_pass` hosts when
they're hardcoded. The workaround: force it to be a variable, per:

  https://www.jethrocarr.com/2013/11/02/nginx-reverse-proxies-and-dns-resolution/

Problem the second, somehow the Cloud Foundry route for tock.18f.gov
disappeared. Once the DNS issues was (initially) resolved by restarting nginx,
https://tock.18f.gov/ started returning:

  `404 Not Found: Requested route ('tock.18f.gov') does not exist.`

Removing the `proxy_set_header Host $host` directive, originally added in
18F/hub#359, caused https://tock.18f.gov/ to work again, sort of. After
@batemapf made administrative changes, he was bounced back out to
https://tock-app.18f.gov/ instead.

After discussion with @jmcarp, @dlapiduz, and @GUI, we figured out the
cache-busting solution to the stale IP issue, and that restoring the
tock.18f.gov mapping in Cloud Foundry enabled us to restore the
`proxy_set_header` directive.

625 of 810 relevant lines covered (77.16%)

4.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1973.1 (2.2.3) 27 Aug 2015 08:28PM UTC 0
77.16
Travis Job 1973.1
Source Files on build 1973
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1973
  • 193bd3a0 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc