https://amplify.nginx.com/dashboard/

Please install the Amplify Agent on a new host system to start monitoring:

  1. Use SSH to connect and log in to the system that you want to monitor.
  2. Download install script using curl (1) or wget (1).
    curl -L -O https://github.com/nginxinc/nginx-amplify-agent/raw/master/packages/install.sh

    or

    wget https://github.com/nginxinc/nginx-amplify-agent/raw/master/packages/install.sh
  3. Run the following command as root to install the Amplify Agent package.
    API_KEY='cb397f25fe630005....' sh ./install.sh

    Continue

  4. After a successful installation, the new system appears in the list on the left in about 1 min or so.

Add the stub_status configuration as follows.
Use root privileges to change the NGINX configuration.

  1. Change the current working directory to /etc/nginx .
    cd /etc/nginx
  2. Check that files from conf.d are automatically included in the NGINX configuration.
    Otherwise you will have to add the stub_status module configuration directly to nginx.conf.

    grep -i include\.*conf nginx.conf
  3. Create a new file with the stub_status configuration.
    cat > conf.d/stub_status.conf

    Then copy/paste the following lines to your terminal window and hit «Ctrl-D».

    server {
    listen 127.0.0.1:80;
    server_name 127.0.0.1;
    location /nginx_status {
        stub_status on;
        allow 127.0.0.1;
        deny all;
    }
    }

    You may also grab the config snippet above from GitHub

typescript 源码分析

https://www.cnblogs.com/xuld/p/12180913.html

阅读全文

flutter_gen config

const configDefaultYamlContent = ''' name: UNKNOWN flutter_gen: Optional output: lib/gen/ Optional line_length: 80 Optional parse_metadata: false ...

阅读全文

redis 函数的含义

您提供的函数列表是一个 Redis 客户端 API 的部分实现,通常用于与 Redis 数据库进行交互。以下是这些函数的简要解释,按类别进行分类以帮助理解其功能和用...

阅读全文

欢迎留言