README.md in fluent-plugin-secure-forward-0.1.1 vs README.md in fluent-plugin-secure-forward-0.1.2
- old
+ new
@@ -40,11 +40,11 @@
<source>
type secure_forward
shared_key secret_string
self_hostname server.fqdn.local
- cert_auto_generate yes
+ cert_auto_generate yes
authentication yes # Deny clients without valid username/password
<user>
username tagomoris
password foobar012
</user>
@@ -116,9 +116,21 @@
<match secret.data.**>
type secure_forward
shared_key secret_string
self_hostname client.fqdn.local
+ <server>
+ host server.fqdn.local # or IP
+ # port 24284
+ </server>
+ </match>
+
+Without hostname ACL (and it's not implemented yet), `self_hostname` is not checked in any state. `${hostname}` placeholder is available for such cases.
+
+ <match secret.data.**>
+ type secure_forward
+ shared_key secret_string
+ self_hostname ${hostname}
<server>
host server.fqdn.local # or IP
# port 24284
</server>
</match>