Reputation: 45
I know , I can't use if condition in access_log in ngninx 1.4.7. Is there other way?
listen 80 default_server;
access_log /log/nginx/access.log ;
# access_log off;
........
Upvotes: 1
Views: 66
Reputation: 3064
The best solution is not to use antique version of nginx and upgrade.
Upvotes: 1