Answer the question
In order to leave comments, you need to log in
How to check if nginx is using static gzip files?
Static site, generated gzip copies of files.
Enabled nginx.conf
How gzip_static on;
to test and make sure that nginx uses compressed versions of files?
Preferably locally, on your PC.
Are there ways without strace
? I niasiled him.
Answer the question
In order to leave comments, you need to log in
as an option on the example of Debian
apt-get install auditd
systemctl start auditd
auditctl -w /var/www/html/index.nginx-debian.html -p arw -k nginx
ausearch -k nginx
time->Wed Apr 5 23:02:16 2017
type=PROCTITLE msg=audit(1491426136.219:255): proctitle=6E67696E783A20776F726B65722070726F63657373
type=PATH msg=audit(1491426136.219:255): item=0 name="/var/www/html/index.nginx-debian.html" inode=22156819 dev=09:02 mode=0100644 ouid=0 ogid=0 rdev=00:00 nametype=NORMAL
type=CWD msg=audit(1491426136.219:255): cwd="/"
type=SYSCALL msg=audit(1491426136.219:255): arch=c000003e syscall=2 success=yes exit=50 a0=202e79d a1=800 a2=0 a3=202e720 items=1 ppid=8415 pid=8418 auid=4294967295 uid=33 gid=33 euid=33 suid=33 fsuid=33 egid=33 sgid=33 fsgid=33 tty=(none) ses=4294967295 comm="nginx" exe="/usr/sbin/nginx" key="nginx"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question