This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prerender NGINX configuration for Seravo Wordpress and HTTPS protocol | |
# Based on https://gist.github.com/thoop/8165802 | |
# | |
# Change YOUR_TOKEN to your prerender token | |
# Change /path/to/your/app to the correct value | |
location /path/to/your/app { | |
proxy_set_header X-Prerender-Token YOUR_TOKEN; | |
set $prerender 0; |