Nginx日志json化

Nginx日志json化

修改nginx配置文件 log_format log_json '{ "@timestamp": "$time_local", ' '"N_remote_addr": "$remote_addr", ' '"N_referer": "$http_referer", ' '"N_request": "

宝塔Nginx-Fancyindex-Theme样式

宝塔Nginx-Fancyindex-Theme样式

1.备份Nginx文件 cd /www/server/nginx/sbin/ cp nginx nginx.bak 2.下载Nginx fancyindex模块 cd /root/ git clone https://github.com/aperezdc/ngx-fancyindex cp -R