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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 18f-pages-internal
Ran 27 Aug 2015 08:28PM UTC
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

27 Aug 2015 08:17PM UTC coverage: 77.16%. First build
2.2.3

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

Source Files on job 1973.1 (2.2.3)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1973
  • Travis Job 1973.1
  • 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