代码拉取完成,页面将自动刷新
server{
listen 443;
server_name clk528.com www.clk528.com;
index index.html index.htm index.php;
root /your/path/public;
ssl on;
ssl_certificate pem/214171390160622.pem;
ssl_certificate_key pem/214171390160622.key;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
if ($http_user_agent ~* "bing.com" ) {
return 404;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location /lua {
default_type 'text/html';
content_by_lua 'ngx.say("hello world")';
}
location ^~/blog/image-upload/{
rewrite ^(/blog/image-upload/)(.*)$ /../storage/upload/images/$2 last;
break;
}
location /resource/ {
rewrite (.*) /../$1 break;
}
add_header Access-Control-Allow-Origin https://www.clk528.com;
location ~ [^/]\.php(/|$){
# comment try_files $uri =404; to enable pathinfo
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
#include pathinfo.conf;
set $path_info "";
set $real_script_name $fastcgi_script_name;
if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {
set $real_script_name $1;
set $path_info $2;
}
fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param PATH_INFO $path_info;
######################
#include fastcgi_params;
#fastcgi_split_path_info ^(.+\.php)(/.+)$;
#fastcgi_param PATH_INFO $fastcgi_path_info;
#fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location /nginx_status {
stub_status on;
access_log off;
}
location ~* /chenlongke.txt{
return 404;
}
#location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
#{
# expires 30d;
#}
#location ~ .*\.(js|css)?$
#{
# expires 12h;
#}
access_log logs/clk528.com.log access;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。