An open source, non-profit web search engine
Move add header higher up
Daoud Clarkec2055329afca
diff --git a/nginx.conf.sigil b/nginx.conf.sigilindex 4ac2455..65e22a4 100644--- a/nginx.conf.sigil+++ b/nginx.conf.sigil@@ -40,11 +40,10 @@ server {{{ if and (eq $.SPDY_SUPPORTED "true") (ne $.HTTP2_SUPPORTED "true") }}add_header Alternate-Protocol {{ $.PROXY_SSL_PORT }}:npn-spdy/2;{{ end }}proxy_cache custom_cache;+ add_header 'X-Proxy-Cache' 'Test';location / {- add_header 'X-Proxy-Cache' 'Test';-## Start CORS here. See http://enable-cors.org/server_nginx.html for commentsif ($request_method = 'OPTIONS') {