Skip to content

v5

Compare
Choose a tag to compare
@ironhalik ironhalik released this 27 Mar 15:25
· 46 commits to master since this release
  • Added LOG_LEVEL variable. Defaults to notice and accepts nginx error_log verbosity levels.

  • HEALTHCHECK and STATS variables now accept location string instead of boolean value.

    Setting HEALTHCHECK=/health and STATS=/stats will create following config:

    server {
      listen 127.0.0.1:8080;
    
      access_log  off;
    
      location /stats {
        stub_status on;
      }
      location /health {
        return 200;
      }
      location / {
        return 404;
      }
    }