From 1aefd926555beac5d7618c2375727df0c4470504 Mon Sep 17 00:00:00 2001 From: jake Date: Thu, 22 Sep 2022 17:48:50 -0400 Subject: Add server_alias config option. 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. --- config.toml.sample | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.toml.sample') 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] -- cgit v1.2.3