|
1, The form could not be submitted. Click here to try again
1 A+ O' H' `. a. f. z这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志8 ?1 r6 ~9 v" v' w& V1 Y/ P
/var/log/php-fpm/error.log& K% Y& w2 \6 V! g' y- W7 F* [# t
/var/log/nginx/error.log 也可检查lnmp的配置1 u5 O6 d B7 S+ ~( g& Q
vi /usr/local/nginx/conf/nginx.conf
- G) ^" G6 x. G R找到www.lnmp.org,修改为你想设置的域名1 j, U$ P3 [* S5 p5 ~8 p
保存, C U! n# N9 |6 Y
执行:/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 iMobiTrax5 t( N: z. R. K9 c
这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php, E& N. q7 h# ? V. C
如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F' ~2 W, f' P3 [; M+ w8 r4 K# \
iptables -t nat -F
2 l: s) E& Z# \, Q) I1 c* _iptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址 ! s: r, C; K5 D0 a! d
0 s) u/ ?& t* G+ O. f' V6 }# L- J- _
|