我有一台装有 Nginx 和 Phusion Passenger(非 Rails 应用程序)的 Ubuntu 18.04 服务器,它仅适用于 HTML 中的 ASCII 字符的网站。
但是当我将非 ASCII 字符放入index.erb
类似字符时á
,会出现错误:
Incomplete response received from application
我的locale
是:
LANG=C.UTF-8
LANGUAGE=C.UTF-8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=C.UTF-8
UTF-8
当然,所有文件也都在。
有什么想法吗?我已经用完了。
谢谢