Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaddyTrustedGCPCloudCDN ¶
type CaddyTrustedGCPCloudCDN struct { // Interval to update the trusted proxies list. default: 1d Interval caddy.Duration `json:"interval,omitempty"` // contains filtered or unexported fields }
The module auto trusted_proxies `GCP CloudCDN EDGE servers` from `_cloud-eoips.googleusercontent.com` TXT record Doc: https://cloud.google.com/cdn/docs/set-up-external-backend-internet-neg Range from: _cloud-eoips.googleusercontent.com
func (CaddyTrustedGCPCloudCDN) CaddyModule ¶
func (CaddyTrustedGCPCloudCDN) CaddyModule() caddy.ModuleInfo
func (*CaddyTrustedGCPCloudCDN) GetIPRanges ¶
func (s *CaddyTrustedGCPCloudCDN) GetIPRanges(_ *http.Request) []netip.Prefix
func (*CaddyTrustedGCPCloudCDN) Provision ¶
func (s *CaddyTrustedGCPCloudCDN) Provision(ctx caddy.Context) error
func (*CaddyTrustedGCPCloudCDN) UnmarshalCaddyfile ¶
func (m *CaddyTrustedGCPCloudCDN) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler. Syntax:
gcp_cloudcdn { interval <duration> }
Click to show internal directories.
Click to hide internal directories.