Skip to content

Commit 8840f3f

Browse files
committed
Put nginx options into their own template section
1 parent 228041e commit 8840f3f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lang/en

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ tmpl_directives=Adding Nginx config directives
495495
tmpl_default=Default (from parent template)
496496
tmpl_none=None
497497
tmpl_below=Listed below ..
498+
tmpl_section=Nginx webserver
498499

499500
sysinfo_nginx=Nginx version
500501

virtual_feature.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2817,6 +2817,11 @@ sub feature_supports_sni
28172817
return $out =~ /TLS\s+SNI\s+support\s+enabled/i ? 1 : 0;
28182818
}
28192819

2820+
sub template_section
2821+
{
2822+
return ($module_name, $text{'tmpl_section'});
2823+
}
2824+
28202825
# template_input(&template)
28212826
# Returns HTML for editing per-template options for this plugin
28222827
sub template_input

0 commit comments

Comments
 (0)