summaryrefslogtreecommitdiff
path: root/config.toml.sample
diff options
context:
space:
mode:
authorjake <jake@jakes-mail.top>2022-09-22 17:48:50 -0400
committerjake <jake@jakes-mail.top>2022-09-22 17:48:50 -0400
commit1aefd926555beac5d7618c2375727df0c4470504 (patch)
tree295d53c7c21d544ed69bd06ed8541e2ca5e4ea18 /config.toml.sample
parent9aa5c9037d7e2dddc2ab46906bd34a23b0f7cd5b (diff)
Add server_alias config option.HEADmaster
Add map_server_alias. Modifed auto_cert to generate certs for the alias. Changed some logic for detecting server_alias'. Update the sample config file.
Diffstat (limited to 'config.toml.sample')
-rw-r--r--config.toml.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.toml.sample b/config.toml.sample
index c1962c7..a668491 100644
--- a/config.toml.sample
+++ b/config.toml.sample
@@ -80,6 +80,10 @@ assume_index = true
# A more realistic example
#['example.com']
+# Listen to more than just 'example.com' with server_alias. No need two vhost configurations.
+# server_alias can just be a single string, e.g. "server_alias='www.example.com'". An array allows
+# for more than one alias. If auto_cert is true, then *ON CREATION OF THE CERT* the server_alias's will be added to it.
+#server_alias=['www.example.com', 'example.org']
# bind can be set to a string or a list or 'no' which will not be accessible via IP address.
#bind = ['172.16.0.53', '10.43.14.32']
#ports = [10000,10001,10002]