Forum: NGINX Nginx to serve static content in cpanel server

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Anoop A. (Guest)
on 2008-12-07 09:24
(Received via mailing list)
Hello,

I have a cpanel server and wish to serve static content using nginx
configured as proxy
Now to be compatible with cpanel traffic accounting i need nginx to
write to
the cpanel byteslog in the following format(apache)

===================
CustomLog /usr/local/apache/domlogs/domain.com-bytes_log "%{%s}t %I
.\n%{%s}t %O ."
====================

On googling i found a person in WebHosting talk has accomplished this
using
a patch to the log_module.

Can this be accomplished in version 0.7.24 without patching.If yes how?

Also i not where will get the patch file for the log_module

Thanks for all the help
This topic is locked and can not be replied to.