AMH 社区首页
AMH社区 - 开放自由有价值的社区
	
		
    	 | 
	|
|---|---|
| 
	
	 李至臣  | 
	
	 
		  李至臣 发表于 2015-08-30 13:14:45
	 
	我配置了默认用HTTPS打开网站。 
	server { listen 80; server_name www.ccwadj.cn ccwadj.cn; #server_name end index index.html index.htm index.php; #index end set $subdomain ''; root /home/wwwroot/ccwadj/web$subdomain; include rewrite/DEDE.conf; #rewrite end #error_page location ~ /ErrorPages/(400|401|403|404|405|502|503)\.html$ { root /home/wwwroot/ccwadj/web; } location ~ .*\.php$ { fastcgi_pass unix:/tmp/php-cgi-ccwadj.sock; fastcgi_index index.php; include fcgi-host.conf; fastcgi_param DOCUMENT_ROOT /web$subdomain; fastcgi_param SCRIPT_FILENAME /web$subdomain$fastcgi_script_name; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp3|wma)$ { expires 30d; } location ~ .*\.(js|css)$ { expires 12h; } access_log off; #access_log end error_log /dev/null; #error_log end #------SSL BEGIN listen 443; ssl on; ssl_certificate /usr/local/nginx/conf/ssl/ccwadj.crt; ssl_certificate_key /usr/local/nginx/conf/ssl/ccwadj.pem; #------SSL END } 有大神在么,看看我这么配置了为什么打开网站是310. 
				2015-08-30 13:14:45 1
	 
		
	 | 
	
| 
		
		 
		李至臣  | 
		 谁能教教我吗? 支持 支持 支持
				 
		
		
		回复 
		2015-08-30 13:20:47 2
		 
				
		 | 
		
| 
		
		 
		printempw  | 
		
		
		 
		回复 
		2015-08-30 14:34:58 3
		 
				
		 | 
		
| 
		
		 
		李至臣  | 
		
		
		 
		回复 
		2015-09-18 17:53:39 4
		 
				
		 | 
		
| 
		
		 
		李至臣  | 
		 有无法访问了,我也不知道该说些什么了。
				 
		
		
		回复 
		2016-09-30 01:59:59 5
		 
				
		 | 
		
 HTTPS
 
			[求助帖]
		网站配置了SSL无法访问
 