Avoid a rewrite, as we always serve the same unknown.html file
Details
Details
- Reviewers
dereckson - Commits
- rOPS4a1eba2b1e9a: Simplify unknown domain nginx configuration
- browse a domain pointing to the IP but not configured
- ensure it's still serving unknown.html
Diff Detail
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
Comment Actions
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).