>##openssl⽣成#rewrite ^(.*)$ $host$1 permanent;
#chart koi8-r;
if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d{2})") {
t $year $1;
t $month $2;
t $day $3;
}
access_log access-$year-$month-$day.log.log main;
index index.html index.htm index.php;
##访问域名wss:///wss 即可
location /wss {
proxy_pass websocket;##代理到上⾯的ip
proxy_http_version 1.1;
proxy_t_header Upgrade $http_upgrade;
proxy_t_header Connection "Upgrade";
}
location / {
root /Urs/apple/Documents/workspace/meigou_api/public;
# index index.html index.htm index.php;
try_files $uri$uri/ /index.php?$query_string;
client_max_body_size 50m;
转正工作总结
limit_req zone=one burst=5 nodelay;
}
#error_page 404 /404.html;
# redirect rver error pages to the static page /50x.html
海龙的功效与作用
#
error_page 500502503504 /50x.html;
location = /50x.html {
root html;
}
苹果手机怎么更新# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
手机数据线连接电脑怎么传文件#location ~ \.php$ {
# proxy_pass 127.0.0.1;
#}
# pass the PHP scripts to FastCGI rver listening on 127.0.0.1:9000
#
location ~ \.php$ {
root /Urs/apple/Documents/workspace/meigou_api/public;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
client_max_body_size 50M;
}
节能标语# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#狗狗睡觉
#location ~ /\.ht {
# deny all; #}
}