[docs] Make protocol config option really explicit (#3391)

This commit is contained in:
tobi 2024-10-05 12:09:58 +02:00 committed by GitHub
parent 37a3d224a7
commit 36abd568b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 8 deletions

View file

@ -80,10 +80,18 @@ host: "localhost"
# Default: "" # Default: ""
account-domain: "" account-domain: ""
# String. Protocol to use for the server. Only change to http for local testing! # String. Protocol over which the server is reachable from the outside world.
# This should be the protocol part of the URI that your server is actually reachable on. So even if you're #
# running GoToSocial behind a reverse proxy that handles SSL certificates for you, instead of using built-in # ONLY CHANGE THIS TO HTTP FOR LOCAL TESTING! IN 99.99% OF CASES YOU SHOULD NOT CHANGE THIS!
# letsencrypt, it should still be https. #
# This should be the protocol part of the URI that your server is actually reachable on.
# So even if you're running GoToSocial behind a reverse proxy that handles SSL certificates
# for you, instead of using built-in letsencrypt, it should still be https, not http.
#
# Again, ONLY CHANGE THIS TO HTTP FOR LOCAL TESTING! If you set this to `http`, start your instance,
# and then later change it to `https`, you will have already broken URI generation for any created
# users on the instance. You should only touch this setting if you 100% know what you're doing.
#
# Options: ["http","https"] # Options: ["http","https"]
# Default: "https" # Default: "https"
protocol: "https" protocol: "https"

View file

@ -88,10 +88,18 @@ host: "localhost"
# Default: "" # Default: ""
account-domain: "" account-domain: ""
# String. Protocol to use for the server. Only change to http for local testing! # String. Protocol over which the server is reachable from the outside world.
# This should be the protocol part of the URI that your server is actually reachable on. So even if you're #
# running GoToSocial behind a reverse proxy that handles SSL certificates for you, instead of using built-in # ONLY CHANGE THIS TO HTTP FOR LOCAL TESTING! IN 99.99% OF CASES YOU SHOULD NOT CHANGE THIS!
# letsencrypt, it should still be https. #
# This should be the protocol part of the URI that your server is actually reachable on.
# So even if you're running GoToSocial behind a reverse proxy that handles SSL certificates
# for you, instead of using built-in letsencrypt, it should still be https, not http.
#
# Again, ONLY CHANGE THIS TO HTTP FOR LOCAL TESTING! If you set this to `http`, start your instance,
# and then later change it to `https`, you will have already broken URI generation for any created
# users on the instance. You should only touch this setting if you 100% know what you're doing.
#
# Options: ["http","https"] # Options: ["http","https"]
# Default: "https" # Default: "https"
protocol: "https" protocol: "https"