|
1, The form could not be submitted. Click here to try again% \' z9 V9 b+ p' {2 u. t3 \8 B ~
这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志& V2 A. v9 D! n9 [" M$ J$ O
/var/log/php-fpm/error.log* {6 F( U3 X+ a1 ~
/var/log/nginx/error.log 也可检查lnmp的配置
3 N z1 z$ O7 R8 n1 B; Y0 Y+ \vi /usr/local/nginx/conf/nginx.conf
, ^' [, m& t* g0 H" W( \; \" n找到www.lnmp.org,修改为你想设置的域名
9 [9 l1 u8 @0 m" I. p: z保存7 S2 L' ^# L+ E Q g- l- L
执行:/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. ]9 M+ M1 _% s& s2 b; }1 }3 z4 a
这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php
+ o: ?% D( i& z Q# Q o' e如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F8 M! l# [! P4 s6 B% X
iptables -t nat -F+ i' {8 k' x: o2 h1 V; X% Z
iptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址
3 S; i5 G0 y7 f9 c6 k/ L% v# w, m; {, _
|