【发布时间】:2017-11-28 05:15:29
【问题描述】:
我会定期收到错误:
This site can't be reached.
The webpage at https://example.com/document might be temporarily down or it my have moved permanently to are new web address.
我的网站存储在 AWS 上。 我使用 Rails + nginx + 乘客。
Nginx 错误日志:
client intended to send too large body: 3729822 bytes,
client: 172.42.35.54, server: example.com,
request: "POST /document HTTP/1.1", host: "test.example.com",
referrer: "https://test.example.com/document/new"
应用日志:
ActionController::RoutingError (No route matches [GET] "/document")
过了一会儿,错误消失了。我怀疑这是由于部署造成的,但我不确定。您能否告诉我,它可能与什么相关以及如何解决此类问题?
【问题讨论】:
标签: ruby-on-rails ruby amazon-web-services nginx amazon-ec2