|
1, The form could not be submitted. Click here to try again# x0 w9 O# n3 c3 ~6 D0 H
这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志
) H- B4 L2 a6 Z3 k l/var/log/php-fpm/error.log4 s8 S8 ^% R; Y1 Y
/var/log/nginx/error.log 也可检查lnmp的配置6 H0 W! X5 U: o, T. n. z3 o
vi /usr/local/nginx/conf/nginx.conf
/ g" s( P2 a4 e% \! p找到www.lnmp.org,修改为你想设置的域名
B7 {( v0 _3 v1 Q0 \保存
0 X( e" ^6 ^* D: e6 a执行:/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
3 M! m: u6 F5 m. P4 ]* [5 y0 \这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php
5 o' y# T1 {4 L" ?& e如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F4 a8 G+ P" T$ c+ w9 T1 u1 E
iptables -t nat -F3 \6 w# n* Y- d/ A4 |
iptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址 8 H% W; X2 N- I$ I1 @
7 j+ t1 L5 B' d* l) D
|