Skip to content

Instantly share code, notes, and snippets.

@beanmoss
beanmoss / nginx.conf
Created August 30, 2018 11:41 — forked from thoop/nginx.conf
Official prerender.io nginx.conf for nginx
# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats
# Change example.com (server_name) to your website url
# Change /path/to/your/root to the correct value
server {
listen 80;
server_name example.com;
root /path/to/your/root;
index index.html;
{
"id": :person_id,
"last_name": ":lastname",
"first_name": ":firstname",
"preferred_name": null,
"gender": null,
"birth_country": "value 1",
"aborig_torres_cd": null,
"pasifika_pacific_islander": null,
"residency": null,