You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2018/02/26 21:46:46 UTC
[trafficserver] branch master updated: Doc: Update highlighting for
Lua, HTTP for correct Pygments highlighting.
This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 2ec7660 Doc: Update highlighting for Lua, HTTP for correct Pygments highlighting.
2ec7660 is described below
commit 2ec7660714f4e18a1a0fc80f8dd76b0daed9eb3d
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Mon Feb 26 10:52:12 2018 -0600
Doc: Update highlighting for Lua, HTTP for correct Pygments highlighting.
---
doc/admin-guide/files/ssl_server_name.config.en.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/admin-guide/files/ssl_server_name.config.en.rst b/doc/admin-guide/files/ssl_server_name.config.en.rst
index 9f909f2..2108875 100644
--- a/doc/admin-guide/files/ssl_server_name.config.en.rst
+++ b/doc/admin-guide/files/ssl_server_name.config.en.rst
@@ -40,7 +40,7 @@ By default this is named :file:`ssl_server_name.config`. The file can be changed
The configuration file is Lua based. After parsing and executing the Lua code, the global Lua
variable :code:`server_config` is examined. Its value should be a list of tables. Each table is a set
of key / value pairs that create a configuration item. This configuration file accepts wildcard entries. To apply an SNI based
-setting on all the servernames with a common upper level domain name, the user needs to enter the fqdn in the configuration
+setting on all the servernames with a common upper level domain name, the user needs to enter the fqdn in the configuration
with a ``*.`` followed by the common domain name. (``*.yahoo.com`` for e.g.,).
======================= ==============================================================================
@@ -108,13 +108,13 @@ Examples
Disable HTTP/2 for ``no-http2.example.com``.
-.. code-block:: Lua
+.. code-block:: lua
server_config = {{ fqdn="no-http2.example.com", disable_h2=true }}
Require client certificate verification for ``example.com`` and any server name ending with ``.yahoo.com``. Therefore, client request for a server name ending with yahoo.com (for e.g., def.yahoo.com, abc.yahoo.com etc.) will cause |TS| require and verify the client certificate. By contrast, |TS| will allow a client certficate to be provided for ``example.com`` and if it is, |TS| will require the certificate to be valid.
-.. code-block:: Lua
+.. code-block:: lua
server_config = {
{ fqdn="example.com", verify_client=MODERATE },
@@ -124,7 +124,7 @@ Require client certificate verification for ``example.com`` and any server name
Disable outbound server certificate verification for ``trusted.example.com`` and require a valid
client certificate.
-.. code-block:: Lua
+.. code-block:: lua
server_config = {
{
--
To stop receiving notification emails like this one, please contact
amc@apache.org.