Nginx to serve static content in cpanel server

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


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/ "%{%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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list