Page MenuHomeDevCentral

Simplify unknown domain nginx configuration
ClosedPublic

Authored by dereckson on Apr 20 2017, 08:23.
Tags
None
Referenced Files
F10048471: D956.id2438.diff
Wed, Jun 18, 05:22
F10042381: D956.id2441.diff
Wed, Jun 18, 02:22
F10041123: D956.id2438.diff
Wed, Jun 18, 01:34
F10035913: D956.id2441.diff
Tue, Jun 17, 23:49
F10035808: D956.id2439.diff
Tue, Jun 17, 23:43
F10032304: D956.id2439.diff
Tue, Jun 17, 22:37
F10028860: D956.diff
Tue, Jun 17, 21:09
F10027826: D956.id2441.diff
Tue, Jun 17, 20:38

Details

Summary

Avoid a rewrite, as we always serve the same unknown.html file

Test Plan
  • browse a domain pointing to the IP but not configured
  • ensure it's still serving unknown.html

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
nginx-cleanup
Build Status
Buildable 1484
Build 1732: arc lint + arc unit

Event Timeline

dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson added subscribers: Sandlayth, jokerozen.
dereckson edited edge metadata.

Rebased against D955

On my local workstation, I asked "unknown" to point to Eglide IP:

/etc/hosts
# Debug
212.47.244.42 eglide.org
212.47.244.42 unknown
212.47.244.42 eglide.org

Then, I browsed and curl'ed http://unknown and http://unknown/foo.html to ensure it works (+ 404 code is returned).

This revision is now accepted and ready to land.Apr 20 2017, 08:37
This revision was automatically updated to reflect the committed changes.