=encoding utf-8 =head1 NAME ngx_mgmt_module - Module ngx_mgmt_module =head1 The C module enables NGINX Plus license verification and usage reporting. This is mandatory for each L1.27.2 (nginx-plus-r33)>|https://docs.nginx.com/nginx/releases/#nginxplusrelease-33-r33> instance. A JWT license file named C should be located at CetcEnginxE> for Linux or CusrElocalEetcEnginxE> for FreeBSD or at the path specified by the L directive. The license file is available from L. Usage report is sent to F5 licensing endpoint every hour using the secure connection. Optionally, in network-restricted environments reporting can be configured to L from which the report can be sent to F5 licensing endpoint. By default, if the initial usage report is not received by F5 licensing endpoint, nginx will stop processing traffic. B This module is available as part of our commercial subscription. =head1 Example Configuration mgmt { # in case if custom path is required license_token custom/file/path/license.jwt; # in case of reporting to NGINX Instance Manager usage_report endpoint=NIM_FQDN; } =head1 Directives =head2 mgmt mgmt { B<...> } B I
Provides the configuration file context in which usage reporting and license management directives are specified. =head2 enforce_initial_report B enforce_initial_report I E C> B I B I This directive appeared in version 1.27.2. Enables or disables the 180-day grace period for sending the initial usage report. The initial usage report is sent immediately upon nginx first start after installation. By default, if the initial report is not received by F5 licensing endpoint, nginx stops processing traffic until the report is successfully delivered. Setting the directive value to C enables the 180-day grace period during which the initial usage report must be received by F5 licensing endpoint. =head2 license_token B license_token I>> B I B I This directive appeared in version 1.27.2. Specifies a JWT license I>. By default, the I> file is expected to be at CetcEnginxE> for Linux or at CusrElocalEetcEnginxE> for FreeBSD. =head2 resolver B resolver I< I> ... [C=I>] [C=CEC] [C=CEC] [C=I>]> B I Configures name servers used to resolve usage reporting endpoint name. By default, the system resolver is used. See L for details. =head2 ssl_crl B ssl_crl I>> B I Specifies a I> with revoked certificates (CRL) in the PEM format used to verify the certificate of the usage reporting endpoint. =head2 ssl_trusted_certificate B ssl_trusted_certificate I>> B I B I Specifies a I> with trusted CA certificates in the PEM format used to verify the certificate of the usage reporting endpoint. =head2 ssl_verify B ssl_verify I E C> B I B I Enables or disables verification of the usage reporting endpoint certificate. B Before 1.27.2, the default value was C. =head2 state_path B state_path I>> B I This directive appeared in version 1.27.2. Defines a directory for storing state files (C) created by the C module. The default directory for Linux is CvarElibEnginxEstate>, for FreeBSD is CvarEdbEnginxEstate>. =head2 usage_report B usage_report I< [C=I>] [C=I>]> B I B I Sets the I> and I> of the usage reporting endpoint. The C parameter sets an interval between two consecutive reports. B Before 1.27.2, the default values were C and C<30m>.