summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml
index ceef6dc95..b09561470 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -880,6 +880,18 @@ http-client:
allow-ips: []
block-ips: []
+ # Bool. Disable verification of TLS certificates of remote servers.
+ # With this set to 'true', GoToSocial will not error when a remote
+ # server presents an invalid or self-signed certificate.
+ #
+ # THIS SETTING SHOULD BE USED FOR TESTING ONLY! IF YOU TURN THIS
+ # ON WHILE RUNNING IN PRODUCTION YOU ARE LEAVING YOUR SERVER WIDE
+ # OPEN TO MAN IN THE MIDDLE ATTACKS! DO NOT CHANGE THIS SETTING
+ # UNLESS YOU KNOW EXACTLY WHAT YOU'RE DOING AND WHY YOU'RE DOING IT.
+ #
+ # Default: false
+ tls-insecure-skip-verify: false
+
#############################
##### ADVANCED SETTINGS #####
#############################