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

18F / hub / 1456
78%
18f-pages-internal: 78%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 18f-pages-internal
Ran 20 Jun 2015 10:58PM UTC
Jobs 1
Files 33
Run time 2s
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
1456

push

travis-ci

mbland
Fix nginx config; make 403 page style standalone

The previous changes in #323 didn't actually do the trick, as the 403 is
coming from the oauth2_proxy, not directly from nginx. This change allows the
auth.18f.gov virtual server to intercept the 403 from oauth2_proxy during
the sign-in process, after the user has successfully logged into MyUSA but
using an account that isn't authorized to access the Hub.

The `auth.conf` config uses a Server-Side Include to serve a 403 page with a
custom link. This custom link allows the user to automatically log out of
MyUSA, and will also redirect to the intended URL once the user has logged
back in using the correct account. By changing the Hub's application URL in
MyUSA to https://auth.18f.gov/, this configuration works for all 18F
properties authenticated using the Hub's oauth2_proxy (including
https://tock.18f.gov/ and https://pages-staging.18f.gov/).

Since an unauthenticated user will not be able to load scrips and stylesheets,
there is a new http_error layout that cuts most of these things and inlines
the minimum styles necessary to maintain a consistent look (error.scss).

Also adds a helpful link to check the veracity of the Shaxper quote.

690 of 882 relevant lines covered (78.23%)

3.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1456.1 (2.1.5) 20 Jun 2015 10:58PM UTC 0
78.23
Travis Job 1456.1
Source Files on build 1456
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1456
  • 65b842be on github
  • Prev Build on better-403 (#1452)
  • Next Build on better-403 (#1458)
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