The following is not an error, but will affect other sites ~ ~ ~ I fainted ...
server {Listen 80;server_name www.skiy.net skiy.net; #rewrite ^/(. *) https://$server _name$1 permanent; return 301 https:/ /$server _name$request_uri;} server {access_log off;index index.html index.htm index.jsp index.php;include rewrite/typecho.conf;root/home/wwwroot/ Www.skiy.net, #error_page 404/404.html;if ($query _string ~* ". *[\; ' \<\>].* ") {return 404;} Location ~. *\. (wma|wmv|asf|mp3|mmf|zip|rar|jpg|gif|png|swf|flv) $ {valid_referers None blocked *.skiy.net www.skiy.net skiy.net;if ( $invalid _referer) {#rewrite ^/Http://www.linuxeye.com/403.html;return 403;}} Location ~. *\. (PHP|PHP5) $ {#fastcgi_pass Remote_php_ip:9000;fastcgi_pass unix:/dev/shm/php-cgi.sock;fastcgi_index index.php; Include fastcgi.conf;} Location ~. *\. (Gif|jpg|jpeg|png|bmp|swf|flv|ico) $ {expires 30d;} Location ~. *\. (JS|CSS)? $ {expires 7d;} #https Listen 443;server_name www.skiy.net skiy.net;ssl On;ssl_certificate/usr/local/nginx/conf/keyssh/1_www.skiy. NET_BUNDLE.CRT; ssl_certificate_key/uSr/local/nginx/conf/keyssh/2_www.skiy.net.key;ssl_session_timeout 5m;ssl_protocols SSLv3 TLSv1;ssl_ciphers HIGH:! Adh:! Export56:rc4+rsa:+medium; Ssl_prefer_server_ciphers on;error_page 497 "https://$host $uri? $args"; #http to HTTPS}
HTTP full station to HTTPS