Nginx Amplify extended access logs and GoAccess virtual hosts

I am running Nginx with installed Nginx Amplify. To get better metrics I’ve extend access log format to: log_format main_ext ‘$remote_addr – $remote_user [$time_local] “$request” ‘ ‘$status $body_bytes_sent “$http_referer” ‘ ‘”$http_user_agent” “$http_x_forwarded_for” ‘ ‘”$host” sn=”$server_name” ‘ ‘rt=$request_time ‘ ‘ua=”$upstream_addr” us=”$upstream_status” ‘ ‘ut=”$upstream_response_time” ul=”$upstream_response_length” ‘ ‘cs=$upstream_cache_status’ ; Above format is from official Amplify documentation. Everything works…

Postfix – MX: Host not found error but dig and nslookup are OK

I had a working Postfix email server on Centos 7 when I decided to reconfigure my host networking (IP addressing, DNS, etc.), after reconfiguration, mail sending is no longer working. /var/log/maillog: Dec 7 10:20:03 server postfix/error[1711]: 030763B26: to=<[email protected]>, relay=none, delay=0.09, delays=0.08/0/0/0, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error…