Skip to content

Instantly share code, notes, and snippets.

View zhwei820's full-sized avatar

莫莫大船长 zhwei820

  • chengdu, china
View GitHub Profile
@zhwei820
zhwei820 / nginx.conf
Created July 6, 2018 07:05 — 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;