enum nginx_server_tokens_mode

Overview

Nginx server response presentation mode More…

#include <conf_nginx.h>

enum nginx_server_tokens_mode {
    NGINX_SERVER_TOKENS_MODE_OFF   = 0,
    NGINX_SERVER_TOKENS_MODE_ON,
    NGINX_SERVER_TOKENS_MODE_BUILD,
    NGINX_SERVER_TOKENS_MODE_MAX,
};

Detailed Documentation

Nginx server response presentation mode

Enum Values

NGINX_SERVER_TOKENS_MODE_OFF

Disable nginx tokens

NGINX_SERVER_TOKENS_MODE_ON

Emit nginx version

NGINX_SERVER_TOKENS_MODE_BUILD

Emit build name along with nginx version

NGINX_SERVER_TOKENS_MODE_MAX

Enumeration elements number