• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question how to modify Nginx's log directive to log request time ?

qtwrk

Basic Pleskian
how to modify Nginx's log directive to log request time ?

Hi , I wanna add request time into log file , so i found this
Module ngx_http_log_module

$request_time

, but I don't know where to add,

just one more question,

if server-wide conf and domain conf are conflicts , which one will prevail ?
 
Hi qtwrk,

pls. note that nginx has several additional modules, like for example "ngx_http_log_module". Not all ( possible ) modules are compiled into your current used nginx version.

You are able to see current compiled modules/configure options with the command ( logged in as user "root over SSH ):
Code:
nginx -V
 
Hi qtwrk,

pls. note that nginx has several additional modules, like for example "ngx_http_log_module". Not all ( possible ) modules are compiled into your current used nginx version.

You are able to see current compiled modules/configure options with the command ( logged in as user "root over SSH ):
Code:
nginx -V

You are right, the default compilation didn't include this.

Is it painful to make recompile for plesk nginx?
 
Back
Top