【发布时间】:2016-05-19 15:59:13
【问题描述】:
我正在尝试使用 Nginx 配置让 prerender.io 为我的 Meteor 应用程序工作,但不确定如何集成它。
通过将 http 代理的东西放在部分中:
if ($prerender = 0) {
#the directives
}
但有以下问题:
nginx: [emerg] "proxy_http_version" directive is not allowed here in /etc/nginx/sites-enabled/annachristoffer:48
nginx: configuration file /etc/nginx/nginx.conf test failed
被困了一段时间,似乎无法在网上找到解释它的来源。
【问题讨论】:
-
我终于不使用 nginx 了:stackoverflow.com/questions/36967599/… 但仍然想知道如何使用 nginx 来完成它
标签: ssl meteor nginx prerender