shared

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProxyProtocolDirective = " proxy_protocol"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IPFamily

type IPFamily struct {
	IPv4 bool
	IPv6 bool
}

IPFamily holds the IP family configuration to be used by NGINX.

type Include added in v1.5.0

type Include struct {
	Name    string
	Content []byte
}

Include defines a file that's included via the include directive.

type Map

type Map struct {
	Source       string
	Variable     string
	Parameters   []MapParameter
	UseHostnames bool
}

Map defines an NGINX map.

type MapParameter

type MapParameter struct {
	Value  string
	Result string
}

MapParameter defines a Value and Result pair in a Map.

type RewriteClientIPSettings added in v1.5.0

type RewriteClientIPSettings struct {
	RealIPHeader  string
	ProxyProtocol string
	RealIPFrom    []string
	Recursive     bool
}

RewriteClientIPSettings holds the configuration for the rewrite client IP settings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL