通過web 訪問指定的應用日志
# cat 10.4.4.185.conf
server {
listen 80;
server_name 10.4.4.185;
allow 10.0.0.0/8;
deny all;
location /wzhouhui-m_logs/ {
autoindex on;
alias /data/www/wzhouhui/m/logs/;
}
}
通過web 訪問指定的應用日志
# cat 10.4.4.185.conf
server {
listen 80;
server_name 10.4.4.185;
allow 10.0.0.0/8;
deny all;
location /wzhouhui-m_logs/ {
autoindex on;
alias /data/www/wzhouhui/m/logs/;
}
}