|
1, The form could not be submitted. Click here to try again! {" h9 P ?2 D9 {
这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志
8 C, P/ t9 m7 B$ ^: P" a3 F8 r/var/log/php-fpm/error.log
( C7 i: }1 ^3 o4 B/var/log/nginx/error.log 也可检查lnmp的配置
9 T+ S# U- I: C- _; \. \vi /usr/local/nginx/conf/nginx.conf: L* M- x: f8 P/ s) {) V
找到www.lnmp.org,修改为你想设置的域名
) i ?9 ]! l8 L* t$ H9 n保存
, \. D# ?3 Z. y8 w1 d1 M执行:/usr/local/nginx/sbin/nginx -s reload 如果是使用cloudflare的SSL才出现此错误,则SSL选择Full模式(Encrypts end-to-end, using a self signed certificate on the server) 2, This domain(www.xxx.com) is not licensed to run iMobiTrax
7 N0 r% G! z" f$ X! x这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php2 y* F v x* y; P, w
如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F
% E9 U! f$ g: C# V5 L3 h0 `iptables -t nat -F- N3 m: x/ ~+ w- R; N
iptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址 6 |2 w$ u( C3 Z
7 b6 s/ I6 C% @1 T% t4 g- ~ |