Skip to content

softonic/nginx-vts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This nginx image exports metrics from VTS module to port 8080 with url /status. It will output the logs in a JSON format to stdout.

Usage

You need to define the next environment variables:

  • APPLICATION: application name to be used in the logs

You need to set in your server configuration the request_start_time variable. For example:

server {
    listen  80;

    set $request_start_time '$time_iso8601';
    server_name _;
}

About

Nginx Docker image with access log in JSON format

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5