Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waf拦截日志目录修改不生效 #431

Open
Lancger opened this issue May 28, 2022 · 4 comments
Open

waf拦截日志目录修改不生效 #431

Lancger opened this issue May 28, 2022 · 4 comments

Comments

@Lancger
Copy link

Lancger commented May 28, 2022

image

修改后的目录日志权限已经修改过了
chown -R nginx:nginx /tmp/logs/nginx
也是不产生拦截日志

@oneinstack
Copy link
Owner

chown -R www:www /tmp/logs/nginx

@Lancger
Copy link
Author

Lancger commented May 30, 2022

但是我的nginx服务是nginx用户启动的,
chown -R www:www /tmp/logs/nginx
这个www用户是waf程序里写死的么

@oneinstack
Copy link
Owner

这个随着nginx.conf
user www www;

@Lancger
Copy link
Author

Lancger commented Jun 7, 2022

OK,3Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants