struct nginx_http_us_server

Overview

HTTP upstream group server More…

#include <conf_nginx.h>

struct nginx_http_us_server {
    // fields

    char* name;
    char* addr_spec;
    unsigned int weight;

    // methods

    LIST_ENTRY(nginx_http_us_server);
};

Detailed Documentation

HTTP upstream group server

Fields

char* name

Friendly server name

char* addr_spec

Address specification, e.g. IP-address:port, hostname:port, unix domain socket path

unsigned int weight

Weight of server in group

Methods

LIST_ENTRY(nginx_http_us_server)

Linked list of servers