Hello,
I recently installed NGINX reserve proxy on my server, and found that both Apache HTTP&HTTPS access are logged to the same file:
I then manually change sslport argument in http.conf from port 444 to port 443, ie:
After Apache restarts, the HTTPS access logs now can correctly log to
It looks like HTTPS requests still treated as using 443 port even the Apache is listen HTTPS on 444
I recently installed NGINX reserve proxy on my server, and found that both Apache HTTP&HTTPS access are logged to the same file:
Code:
/var/log/apache2/domlogs/<DOMAIN>
Code:
CustomLog "|/usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=<DOMAIN> --mainout=/etc/apache2/logs/access_log --sslport=444" combinedvhost
Code:
CustomLog "|/usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=<DOMAIN> --mainout=/etc/apache2/logs/access_log --sslport=443" combinedvhost
Code:
/var/log/apache2/domlogs/<DOMAIN>-ssl_log