• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Amplify agent on multiple vhosts

visualcons

New Pleskian
Hi, I should insert these additional directives for Amplify agent (access log):

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' ;

And then:
access_log /var/log/nginx/access.log main_ext;
error_log /var/log/nginx/error.log warn;


I have already tried to insert these directives in /etc/nginx/nginx.conf but they are not read, probably because every vhost has its configuration file for access and error.

Could you help me?
 
Back
Top