From 5635a54d7aab446657ac2a298132553df82a3fcd Mon Sep 17 00:00:00 2001 From: Azareal Date: Mon, 4 Nov 2019 22:24:01 +1000 Subject: [PATCH] SslSchema notes. --- docs/configuration.md | 4 +++- docs/installation.md | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index d4751392..5dbaa1fa 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -94,7 +94,9 @@ DisableJSAntispam - This switch lets you disable the JS anti-spam feature. It ma LooseHost - Disable host header checks in the router. This may be useful when using a reverse-proxy like Nginx / Apache to stop it white-screening. Default: false -LoosePort - Disable port match checks in the router. This may be useful when using a revere-proxy like Nginx / Apache to stop it white-screening. Default: false +LoosePort - Disable port match checks in the router. This may be useful when using a reverse-proxy like Nginx / Apache to stop it white-screening. Default: false + +SslSchema - Allow for HTTPS URLs without necessarily using a HTTPS listener. This might be useful if a reverse-proxy or otherwise terminates the SSL / TLS connection instead of Gosora. Default: false DisableServerPush - This switch lets you disable the HTTP/2 server push feature. Default: false diff --git a/docs/installation.md b/docs/installation.md index e9c63616..73b07d92 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -100,11 +100,14 @@ We will also want to setup a service: For things like HTTPS, you might also need to [modify your config.json](https://github.com/Azareal/Gosora/blob/master/docs/configuration.md) file after installing Gosora to get it working. You can get a free private key and certificate pair from Let's Encrypt or Cloudflare. + If you're using Nginx or something else as a reverse-proxy in-front of Gosora, then you will have to consult their documentation for advice on setting HTTPS. You may also need to enable LoosePort and LooseHost in `config/config.json`. +If you're behind a reverse-proxy that terminates the SSL / TLS connection, for instance, if the certificate is setup on there instead of the instance, then you may also want to set the SslSchema config setting to true in `config/config.json` and leave EnableSsl disabled. -For email, you will need a SMTP server (either provided by yourself or by a transactional mail provider who specialises in doing so) - You can setup it up via config.json with the Email setting and the ones starting with SMTP. + +For email, you will need a SMTP server (either provided by yourself or by a transactional mail provider who specialises in doing so). +You can setup it up via config.json with the Email setting and the ones starting with SMTP. It is also possible to send emails without SMTP with the experimental sendmail plugin, however there is a high chance of your emails ending up in the user's spam folder, if it arrives at all.