Module helpers

Module helpers 

Source
Expand description

Helper functions for plugin development

This module provides common utilities for nginx configuration linting.

Functionsยง

extract_domain
Extract domain name (without port) from a host string
extract_host_from_url
Extract host from a proxy_pass URL
is_domain_name
Check if the given host is a domain name (not an IP address or special value)
is_ipv4_address
Check if the string is a valid IPv4 address