Skip to content

Commit 6fd2119

Browse files
committed
Cleaning up some existing docs for formatting
1 parent ef12012 commit 6fd2119

File tree

2 files changed

+28
-25
lines changed

2 files changed

+28
-25
lines changed

doc/admin-guide/plugins/cachekey.en.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Cache key structure and related plugin parameters
7777
</TR>
7878
<TR>
7979
<TD BGCOLOR="lightblue">Prefix<BR/>section<BR/>(default)</TD>
80-
<TD BGCOLOR="lightgreen">User-Agent<BR/>section<BR/>(optional)</TD>
80+
<TD BGCOLOR="palegreen">User-Agent<BR/>section<BR/>(optional)</TD>
8181
<TD BGCOLOR="lightyellow">Headers<BR/>section<BR/>(optional)</TD>
8282
<TD BGCOLOR="mistyrose">Cookies<BR/>section<BR/>(optional)</TD>
8383
<TD BGCOLOR="lightsteelblue">Path<BR/>section<BR/>(default)</TD>
@@ -116,7 +116,7 @@ Cache key structure and related plugin parameters
116116
<TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0" BGCOLOR="lightyellow">
117117
<TR>
118118
<TD BGCOLOR="lightblue">--static-prefix</TD>
119-
<TD BGCOLOR="lightgreen">--capture-prefix</TD>
119+
<TD BGCOLOR="palegreen">--capture-prefix</TD>
120120
<TD BGCOLOR="lightcyan">--capture-prefix-uri</TD>
121121
</TR>
122122
<TR>
@@ -173,7 +173,7 @@ Cache key structure and related plugin parameters
173173
<TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0" BGCOLOR="lightyellow">
174174
<TR>
175175
<TD BGCOLOR="lightblue">--ua-class</TD>
176-
<TD BGCOLOR="lightgreen">--ua-capture</TD>
176+
<TD BGCOLOR="palegreen">--ua-capture</TD>
177177
</TR>
178178
<TR>
179179
<TD COLSPAN="2" ALIGN="CENTER">(empty)</TD>
@@ -215,7 +215,7 @@ Cache key structure and related plugin parameters
215215
<TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0" BGCOLOR="lightyellow">
216216
<TR>
217217
<TD BGCOLOR="lightblue">--include-headers</TD>
218-
<TD BGCOLOR="lightgreen">--capture-header</TD>
218+
<TD BGCOLOR="palegreen">--capture-header</TD>
219219
</TR>
220220
<TR>
221221
<TD COLSPAN="2" ALIGN="CENTER">(empty)</TD>
@@ -288,7 +288,7 @@ Cache key structure and related plugin parameters
288288
<TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0" BGCOLOR="lightyellow">
289289
<TR>
290290
<TD BGCOLOR="lightblue">--capture-path-uri</TD>
291-
<TD BGCOLOR="lightgreen">--capture-path</TD>
291+
<TD BGCOLOR="palegreen">--capture-path</TD>
292292
</TR>
293293
<TR>
294294
<TD COLSPAN="2" ALIGN="CENTER">URI path</TD>
@@ -396,7 +396,7 @@ Detailed examples and troubleshooting
396396
</TR>
397397
<TR>
398398
<TD BGCOLOR="lightblue">/www.example.com/80</TD>
399-
<TD BGCOLOR="lightgreen">popular</TD>
399+
<TD BGCOLOR="palegreen">popular</TD>
400400
<TD BGCOLOR="lightyellow">Mozilla/5.0</TD>
401401
<TD BGCOLOR="mistyrose">H1:v1/H2:v2</TD>
402402
<TD BGCOLOR="lavender">C1=v1;C2=v2</TD>
@@ -430,7 +430,7 @@ Detailed examples and troubleshooting
430430
</TR>
431431
<TR>
432432
<TD BGCOLOR="lightblue">/nice_custom_prefix</TD>
433-
<TD BGCOLOR="lightgreen">popular</TD>
433+
<TD BGCOLOR="palegreen">popular</TD>
434434
<TD BGCOLOR="lightyellow">Mozilla/5.0</TD>
435435
<TD BGCOLOR="mistyrose">H1:v1/H2:v2</TD>
436436
<TD BGCOLOR="lavender">C1=v1;C2=v2</TD>

doc/admin-guide/plugins/header_rewrite.en.rst

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -943,23 +943,26 @@ The condition flags are optional, and you can combine more than one into
943943
a comma-separated list of flags. Note that whitespaces are not allowed inside
944944
the brackets:
945945

946-
====== ========================================================================
947-
Flag Description
948-
====== ========================================================================
949-
AND Indicates that both the current condition and the next must be true.
950-
This is the default behavior for all conditions when no flags are
951-
provided.
952-
NOT Inverts the condition.
953-
OR Indicates that either the current condition or the next one must be
954-
true, as contrasted with the default behavior from ``[AND]``.
955-
NOCASE Indicates that the string comparison, or regular expression, should be
956-
case-insensitive. The default is to be case-sensitive.
957-
PRE Make a prefix match on a string comparison.
958-
SUF Make a suffix match on a string comparison.
959-
MID Make a substring match on a string comparison.
960-
EXT The substring match only applies to the file extension following a dot.
961-
This is generally mostly useful for the ``URL:PATH`` part.
962-
====== ========================================================================
946+
.. table:: Condition Flags
947+
:widths: 15 85
948+
949+
====== ========================================================================
950+
Flag Description
951+
====== ========================================================================
952+
AND Indicates that both the current condition and the next must be true.
953+
This is the default behavior for all conditions when no flags are
954+
provided.
955+
NOT Inverts the condition.
956+
OR Indicates that either the current condition or the next one must be
957+
true, as contrasted with the default behavior from ``[AND]``.
958+
NOCASE Indicates that the string comparison, or regular expression, should be
959+
case-insensitive. The default is to be case-sensitive.
960+
PRE Make a prefix match on a string comparison.
961+
SUF Make a suffix match on a string comparison.
962+
MID Make a substring match on a string comparison.
963+
EXT The substring match only applies to the file extension following a dot.
964+
This is generally mostly useful for the ``URL:PATH`` part.
965+
====== ========================================================================
963966

964967
.. note::
965968
At most, one of ``[PRE]``, ``[SUF]``, ``[MID]``, or ``[EXT]`` may be
@@ -1495,7 +1498,7 @@ The URL part names which may be used for these conditions and actions are:
14951498
<TR>
14961499
<TD ALIGN="CENTER" BGCOLOR="lightblue">SCHEME</TD>
14971500
<TD BORDER="0"></TD>
1498-
<TD ALIGN="CENTER" BGCOLOR="lightgreen">HOST</TD>
1501+
<TD ALIGN="CENTER" BGCOLOR="palegreen">HOST</TD>
14991502
<TD BORDER="0"></TD>
15001503
<TD ALIGN="CENTER" BGCOLOR="lightcyan">PORT</TD>
15011504
<TD ALIGN="CENTER" BGCOLOR="wheat">PATH</TD>

0 commit comments

Comments
 (0)