Skip to content

prerender/prerender-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

prerender-nginx

This is the Prerender.io middleware configuration for an nginx server to allow Google (and other crawlers) to crawl your javascript website.

This file is based on this and it was updated following the recommendations in the comments

The nginx.conf in this repository is full file for reference.

Nginx config for

debugging

To debug the page sent to prerender.io use the following log format:

log_format prerender_debug '[$time_local] $remote_addr - $remote_user - $server_name user-agent: $http_user_agent prerender: $prerender: $request to: $upstream_addr upstream_response_time: $upstream_response_time msec $msec request_time $request_time';

About

Prerender.io middleware for nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published