Nginx instant answers

Log in to Vote
2
2 Votes • 5 Comments
Search for 'nginx error_page'. Get a response like:

Code:
Syntax:	error_page code ... [=[response]] uri;
Default:	—
Context:	http, server, location, if in location
Source:
• posted 3 years and 6 months ago Under Review

W25
Looks like a fathead to me.
posted by W25 3 years and 6 months ago Link
dl00
Is it recommended to simply gather the data from the information supplied on that page since there does not appear to be an API?
posted by dl00 3 years and 6 months ago Link
Moollaza
@dl00, yup -- that's what Fathead Instant Answers do. The dev writes a script that scrapes the data source and produces a tab-delimited file that provides keys and values. Basically, the keys are the triggers and the values are what the answer will be.

These are intended to be used for this kinda of relatively static data that isn't likely to change too much. Fatheads often work well for documentation and API references.
posted by Moollaza Staff3 years and 4 months ago Link
Moollaza
A PR has been made and is under review: https://github.com/duckduckgo/zeroclicki...
posted by Moollaza Staff3 years and 4 months ago Link
pfirsichbluete
posted by pfirsichbluete 3 years and 4 months ago Link