|
1, The form could not be submitted. Click here to try again9 I4 [. J$ U) C- g- l+ {+ N9 B
这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志7 D1 V, F" M9 J; O. k/ o7 _( M
/var/log/php-fpm/error.log
& b$ t, X P2 C. c- H2 Q/var/log/nginx/error.log 也可检查lnmp的配置
: t% R1 S" U7 `- B, Yvi /usr/local/nginx/conf/nginx.conf
7 P. E# R. }2 @. f. L3 G; x# _找到www.lnmp.org,修改为你想设置的域名
) r! h7 S% W% w& G* G1 b7 q4 m. O: P& m保存
" O$ [$ u+ \' ~- q Y, U+ Q执行:/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 iMobiTrax9 w1 N1 V" [: _2 `
这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php) l% d4 X7 ~* X- L" t
如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F
) n/ b# ?7 V; v, B$ jiptables -t nat -F
& y1 k2 z9 r" I3 f5 Niptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址
* a4 u' O4 c) Q9 _, A
: Y7 H8 d% ?9 w1 `7 r" k1 f$ |" ^+ ` |