Enum nginx_config::ast::Item[][src]

pub enum Item {
    Daemon(bool),
    MasterProcess(bool),
    WorkerProcesses(WorkerProcesses),
    Http(Http),
    Server(Server),
    Location(Location),
    Listen(Listen),
    ProxyPass(Value),
    ProxySetHeader {
        field: Value,
        value: Value,
    },
    Gzip(bool),
    GzipStatic(GzipStatic),
    GzipProxied(Vec<GzipProxied>),
    AddHeader(AddHeader),
    Expires(Expires),
    Root(Value),
    Alias(Value),
    ErrorPage(ErrorPage),
    Rewrite(Rewrite),
    Return(Return),
    If(If),
    TryFiles(TryFiles),
    ServerName(Vec<ServerName>),
    Set {
        variable: String,
        value: Value,
    },
    Map(Map),
    ClientMaxBodySize(Value),
    Include(Value),
    EmptyGif,
    Internal,
    SslCertificate(Value),
    SslCertificateKey(Value),
    RewriteByLuaFile(Value),
    BalancerByLuaFile(Value),
    AccessByLuaFile(Value),
    HeaderFilterByLuaFile(Value),
    ContentByLuaFile(Value),
    BodyFilterByLuaFile(Value),
    LogByLuaFile(Value),
    LuaNeedRequestBody(Value),
    SslCertificateByLuaFile(Value),
    SslSessionFetchByLuaFile(Value),
    SslSessionStoreByLuaFile(Value),
}

The enum which represents nginx config directive

Variants

Fields of ProxySetHeader

Fields of Set

Methods

impl Item
[src]

Trait Implementations

impl Debug for Item
[src]

Formats the value using the given formatter. Read more

impl Clone for Item
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Item
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Item
[src]

impl Display for Item
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Item

impl Sync for Item