Yes, but not on every update!
If the latest release includes modifications to the NGINX or PHP config files, they will be updated and replaced with the newest.
If not, they won't be touched.
If you want to add custom-nginx rules, please read the the documentation, especifically the "NGINX setup per site" section.
Thank you very much.But I don't know a bit coding. if you have some time. Can you suggest me a way?in /etc/nginx/nginx.conf I want to add this below # Logging Settings
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" '
'ua="$upstream_addr" us="$upstream_status" '
'ut="$upstream_response_time" ul="$upstream_response_length" '
and in /etc/nginx/sites-available/domain.com . I want to change from
access_log /var/log/nginx/example.com.access.log we_log; error_log /var/log/nginx/example.com.error.log;
TO access_log /var/log/nginx/example.com.access.log we_log main_ext; error_log /var/log/nginx/example.com.error.log warn;
I don't want after the update. my config have changed. Thank you very much
PayPal · GitHub Sponsors · Bitcoin