Skip to content

Commit

Permalink
set correct host for prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Sep 13, 2017
1 parent f18abc8 commit 25674d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_nginx_default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ server {

#setting prerender as a variable forces DNS resolution since nginx caches IPs and doesnt play well with load balancing
set $prerender "service.prerender.io";
rewrite .* /$scheme://$host$request_uri? break;
rewrite .* /http://dbs.bh.org.il$request_uri? break;
proxy_pass http://$prerender;
}
if ($prerender = 0) {
Expand Down

0 comments on commit 25674d9

Please sign in to comment.