From a7ffaae4caf3f4b66b54967d74b9aa06076d3b95 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: May 03 2023 23:34:29 +0000 Subject: services/httpd-basic-setup: format filenames and inline-content as code Wrap filenames and inline content in backticks to ensure they are rendered exactly as typed. This prevents the string `_default_` from being shown in italics, losing the leading and trailing underscore. --- diff --git a/docs/modules/ROOT/pages/services/httpd-basic-setup.adoc b/docs/modules/ROOT/pages/services/httpd-basic-setup.adoc index 6025493..bfc9abc 100644 --- a/docs/modules/ROOT/pages/services/httpd-basic-setup.adoc +++ b/docs/modules/ROOT/pages/services/httpd-basic-setup.adoc @@ -58,7 +58,7 @@ You don't use the MD auto certificates, but explizitely configure certificates i Httpd always sets a "default" server which is used to answer requests for which no web server configuration is found. Typically, this happens when the IP address is used instead of a name or there is still an old DNS entry. To do this, it sorts the names of the configuration files alphabetically and sets the first server in the first configuration file as default. If only one server is configured, it is always the default. -At the same time a default server is also preconfigured in the configuration file of the ssl module (/etc/httpd/conf.d/ssl.conf at or near line 56: ). This default server uses self-generated certificates. These conflict with certificates from the server whose configuration file comes first alphabetically. If one lists the configuration of the httpd server, one typically finds: +At the same time a default server is also preconfigured in the configuration file of the ssl module (`/etc/httpd/conf.d/ssl.conf` at or near line 56: ``). This default server uses self-generated certificates. These conflict with certificates from the server whose configuration file comes first alphabetically. If one lists the configuration of the httpd server, one typically finds: [source,text] ---- @@ -79,7 +79,7 @@ VirtualHost configuration: ==== The solution -As a workaround, configure a fake server that is never used but is just a decoy for httpd to associate with the default server configured in /etc/httpd/conf.d/ssl.conf. Create as root or use sudo: +As a workaround, configure a fake server that is never used but is just a decoy for httpd to associate with the default server configured in `/etc/httpd/conf.d/ssl.conf`. Create as root or use sudo: [source,text] ----