#不方便给大家看的东西用*号打码了,谢谢大家了。
server {
listen 443 ssl;
listen 80;
server_name **********;
ssl_certificate ****************.crt;
ssl_certificate_key *************.key;
#ssl_session_timeout 5m;
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #按照这个协议配置
#ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;#按照这个套件配置
#ssl_prefer_server_ciphers on;
root ****************;
index /index.php;
client_max_body_size 52m;
location ~ .*\.(ico|swf|jpg|jpeg|png|gif|js|css)$ {
root *****************;
access_log off;
error_log off;
}
#location / {
# if (!-e $request_filename){
# rewrite ^/(.*)$ /index.php/$1 last;
# break;
# }
# }
location ~ /index.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
include fastcgi_params;
fastcgi_param APPLICATION_ENV rds;
}
}
相似问题