update include regex
This commit is contained in:
parent
832838895c
commit
dedb388e35
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ ssl_certificate_key $keypath;
|
|||
ssl_certificate $certpath;
|
||||
""".lstrip()
|
||||
SERVER_BLOCK_RE = re.compile(r"(?:^|[{};])\s*server\s*{", re.MULTILINE)
|
||||
INCLUDE_RE = re.compile(r"(?:^|[{};])\s*include\s+([^;]+);", re.MULTILINE)
|
||||
SERVER_NAME_RE = re.compile(r"(?:^|[{};])\s*server_name\s+([^;]+);", re.MULTILINE)
|
||||
INCLUDE_RE = re.compile(r"(?:^|[{};])\s*include\s+([^;]+)(?=;)", re.MULTILINE)
|
||||
SERVER_NAME_RE = re.compile(r"(?:^|[{};])\s*server_name\s+([^;]+)(?=;)", re.MULTILINE)
|
||||
|
||||
|
||||
class ConfigError(Exception):
|
||||
|
|
Loading…
Reference in a new issue