0
点赞
收藏
分享

微信扫一扫

nginx子域名配置单独的日志文件


server {
listen 80;
server_name yuying-api.xutongbao.top;

#配置根目录
location / {
proxy_pass http://127.0.0.1:85;
}
access_log logs/access_yuyingapi.log;
error_log logs/access_yuyingapi.log;
}

nginx子域名配置单独的日志文件_根目录

nginx子域名配置单独的日志文件_根目录_02

 

 

举报

相关推荐

0 条评论