- Server operating system version
- 18.04.6 LTS
- Plesk version and microupdate number
- 18.0.44
Hello
I wanted to add the following to the log_format in nginx and Apache.
But I do not know how it is possible
Can you help me?
Nginx:
Apache:
I wanted to add the following to the log_format in nginx and Apache.
But I do not know how it is possible
Can you help me?
br-real-ip
X-Real-Ip
X-Forwarded-For
Nginx:
log_format test1 ‘… $http_x_real_ip $http_br_real_ip $http_x_real_ip…’
Apache:
LogFormat " %h %l %u %t "%r" %>s %b %{X-Forwarded-For} %{X-Real-Ip} %{br-real-ip}i" test1