Skip to content

Commit

Permalink
Fix syntax highlighting for config snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
ganto committed Sep 2, 2016
1 parent d882475 commit 4733529
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ configuration they need to be slightly adjusted.
**Nginx**

.. code-block:: nginxconf
.. code-block:: nginx
location /.well-known/acme-challenge {
alias /var/www/acme-challenges;
Expand All @@ -76,7 +76,7 @@ configuration they need to be slightly adjusted.
**Lighttpd**

.. code-block:: lighttpdconf
.. code-block:: lighty
alias.url += (
"/.well-known/acme-challenge/" => "/var/www/acme-challenges/",
Expand Down
8 changes: 4 additions & 4 deletions docs/system-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Apache httpd
Dovecot
~~~~~~~

.. code-block:: dovecotconf
.. code-block:: dovecot
ssl_cert = </etc/dovecot/ssl/example.com.crt
ssl_key = </etc/dovecot/ssl/example.com.key
Expand All @@ -92,7 +92,7 @@ Dovecot
Lighttpd
~~~~~~~~

.. code-block:: lighttpdconf
.. code-block:: lighty
ssl.pemfile /etc/lighttpd/ssl/example.com.pem
ssl.cafile /etc/lighttpd/ssl/ca.crt
Expand All @@ -106,7 +106,7 @@ Lighttpd
Nginx
~~~~~

.. code-block:: nginxconf
.. code-block:: nginx
ssl_certificate /etc/nginx/ssl/example.com.crt
ssl_certificate_key /etc/nginx/ssl/example.com.key
Expand All @@ -120,7 +120,7 @@ Nginx
Postfix
~~~~~~~

.. code-block:: postfixconf
.. code-block:: postfix
smtpd_tls_cert_file = /etc/nginx/ssl/example.com.crt
smtpd_tls_key_file = /etc/nginx/ssl/example.com.key
Expand Down

0 comments on commit 4733529

Please sign in to comment.