Nginx to serve static content in cpanel server

Anoop Alias anoopalias01 at gmail.com
Sun Dec 7 10:15:31 MSK 2008


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

-- 
Anoop P Alias (PGP Key ID : 0x014F9953)
GNU system administrator
http://GnuSys.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20081207/dc20fac7/attachment.html>


More information about the nginx mailing list