|
1, The form could not be submitted. Click here to try again( J5 ^) R6 F/ O9 T& Q) a- {" d
这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志
0 l9 G+ l0 }1 z5 O9 v/var/log/php-fpm/error.log
/ g9 C( n5 v$ x; `/ Q. D/var/log/nginx/error.log 也可检查lnmp的配置' l; g, _6 c1 V. O! f
vi /usr/local/nginx/conf/nginx.conf
" d0 ]2 H4 d4 b找到www.lnmp.org,修改为你想设置的域名
4 N. M: L% f" W* U( Y保存
5 w: U+ U+ x- Y5 E: a' N执行:/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 J; U: R6 B$ b* h0 e. @# d" C这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php
; d T' o) ]. z# P: K3 Z! W* i如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F; d, k6 m; d4 P8 w( {; V/ ^4 F% I
iptables -t nat -F' S$ D4 }' c# c5 K$ e4 U6 O$ a
iptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址
# y2 c$ [$ S* O% Z. p
$ _4 t: M2 [7 f# N- }' C; } |