naxsi
naxsi copied to clipboard
nx-tools : Unable to open/parse configuration file
Hey,
Tyring to generate whitelist from naxsi's log file but nxtool wont let me :-/
python2.7 nxtool.py --files "/opt/nginx-naxsi-letsencrypt/log/error.log"
Unable to open/parse configuration file.
Snippet of error.log:
2020/07/08 15:03:40 [error] 15#15: *1 open() "/var/www/certbot/.well-known/acme-challenge/xxxx" failed (2: No such file or directory), client: xxxxxxx, server: xxx, request: "GET /.well-known/acme-challenge/xxxHTTP/1.1", host: "xxxx"
2020/07/08 15:03:40 [error] 15#15: *2 open() "/var/www/certbot/.well-known/acme-challenge/xxxx" failed (2: No such file or directory)
2020/07/08 15:12:51 [notice] 24#24: signal process started
2020/07/08 15:19:57 [warn] 25#25: *67 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/1/00/0000000001 while reading upstream, client: xxxxx, server: xxx, request: "GET /auth/resources/bdak6/welcome/xxxxxx/node_modules/patternfly/dist/css/patternfly.css HTTP/1.1", upstream: "http://xxxxx:80/auth/resources/bdak6/welcome/xxxxx/node_modules/patternfly/dist/css/patternfly.css", host: "xxxx", referrer: "https://xxxxx/auth/"
2020/07/08 15:19:57 [warn] 25#25: *68 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/2/00/0000000002 while reading upstream, client: xxxxx server: xxxxx, request: "GET /auth/resources/bdak6/welcome/xxxxx/node_modules/patternfly/dist/css/patternfly-additions.css HTTP/1.1", upstream: "http://xxxxx:80/auth/resources/bdak6/welcome/xxxxx/node_modules/patternfly/dist/css/patternfly-additions.css", host: "xxxxx", referrer: "https://xxxx/auth/"