Merhaba,
$new_config_content = 'log_format ' . $domain . ' \'|$remote_addr| |$remote_user| |$time_zone| "$request"|\''
. '\'|$status| |$body_bytes_sent| "$http_content"|\''
. '"$http_user_agent" "$http_x_forwarded_for" "status";';$domain harici hepsini string ifade olarak kayıt ettirmek istiyorum fakat forma kayıt edilen veri ise bu şekilde
log_format anadomain.com \'|| || || ""|\'\'|| || ""|\'"" "" "status";
nasıl çözebilirim ?