1, The form could not be submitted. Click here to try again3 M- {2 s( k5 |$ ]8 T8 w9 {& T
这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志
; |! @- K5 p% } G* O1 V/var/log/php-fpm/error.log4 `# r, K5 x- I
/var/log/nginx/error.log 也可检查lnmp的配置4 ~2 V6 F4 |2 O, F9 X j o
vi /usr/local/nginx/conf/nginx.conf
( I2 M/ g' j% p/ f7 ?找到www.lnmp.org,修改为你想设置的域名
. q* y3 q& x: t8 p5 l, |保存
9 n5 [2 d% a7 d c执行:/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
# S* H! K$ H3 y6 l这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php
3 C: L2 l; q7 g$ Z' M% X! z2 Y如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F
% w* ]4 x5 x) i4 diptables -t nat -F& P |- m- r% V+ E/ G1 {8 a
iptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址 + F0 @( L# b& b
- g+ @% r( C( _5 t3 x6 x* n |