AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 400 Bad Request 然后就无法访问网站了 |
|
---|---|
root |
root 发表于 2013-10-20 23:29:25
刚刚开始的时候 访问是400 Bad Request 。然后尝试重启AMH。然后,就没有然后了。所有域名都无法打开。甚至,AMH后台都无法打开了。。。。
点赞,加油! (0分)
2013-10-20 23:29:25 1
|
ali |
重启报什么错? 支持
回复
2013-10-21 00:03:18 2
|
root |
回复
2013-10-21 00:22:40 3
|
root |
我崩溃了,只要我安装好面板然后导入备份的文件,立马报错这个,怎么办。。求解决啊!!!!
回复
2013-10-21 01:22:55 4
|
ali |
amh SetParam amh amh_domain Off 换IP后, 这个试试
回复
2013-10-21 01:27:51 5
|
root |
[root@lin ~]# amh SetParam amh amh_domain Off 运行这个命令后还是不行!!!============================================================= [LNMP/Nginx] Amysql Host - AMH 4.1 http://Amysql.com ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.1 http://Amysql.com [OK] Nginx reload [OK] amh_domain parameters set success.
回复
2013-10-21 01:58:45 6
|
tanyuxiang |
备份的什么版本
手动解压 手动还原看看
回复
2013-10-21 11:46:16 7
|
amysql |
域名或IP没绑定成功的情况访问,amh会返回
400 Bad Request 提供下Nginx的配置。 amh cat_nginx
回复
2013-10-21 13:31:35 8
AMH面板 - 好用高效低占用、安全可靠极稳定 |
yueyanwen |
[root@5688-22 /]# amh cat_nginx user www www; worker_processes auto; error_log /home/wwwroot/index/log/nginx_error.log crit; pid /usr/local/nginx/logs/nginx.pid; #Specifies the value for maximum file descriptors that can be opened by this process. worker_rlimit_nofile 51200; events { use epoll; worker_connections 51200; } http { include mime.types; default_type application/octet-stream; server_names_hash_bucket_size 128; client_header_buffer_size 32k; large_client_header_buffers 4 32k; client_max_body_size 50m; sendfile on; tcp_nopush on; keepalive_timeout 60 60; fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fastcgi_read_timeout 300; fastcgi_buffer_size 16k; fastcgi_buffers 16 16k; fastcgi_busy_buffers_size 16k; fastcgi_temp_file_write_size 16k; fastcgi_intercept_errors on; tcp_nodelay on; server_tokens off; gzip on; gzip_min_length 1000; gzip_proxied expired no-cache no-store private auth; gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml application/rss+xml application/xhtml+xml application/atom_xml; gzip_disable "MSIE [1-6].(?!.*SV1)"; log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" $http_x_forwarded_for'; include vhost/*.conf; server { listen 8888; server_name 45.33.122.11; index index.html index.htm index.php; root /home/wwwroot/index/web; if ( $host != '45.33.122.11' ) { return 400; } fastcgi_buffer_size 4k; fastcgi_buffers 8 4k; fastcgi_busy_buffers_size 4k; gzip off; location ~ .*\.php$ { fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fcgi.conf; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } access_log /home/wwwroot/index/log/access.log combined; error_log /home/wwwroot/index/log/error.log crit; } server { listen 80 default; return 400; } }
回复
2015-04-13 16:29:01 9
|