diff --git a/README.md b/README.md index aa1b457ff..6d254689e 100644 --- a/README.md +++ b/README.md @@ -394,6 +394,9 @@ Some have "dummy" values, fill them up if you want to enable these features (Pad # WebApp URL URL=http://app.mydomain.com +# URL of the landing page linked from the app and emails (e.g. referral links); defaults to https://simplelogin.io +LANDING_PAGE_URL=http://mydomain.com + # domain used to create alias EMAIL_DOMAIN=mydomain.com diff --git a/docs/ssl.md b/docs/ssl.md index 1832aef96..f07e749a7 100644 --- a/docs/ssl.md +++ b/docs/ssl.md @@ -39,6 +39,7 @@ Make sure to replace app.mydomain.com with your own domain. ### Updating `simplelogin.env` Make sure to change the `URL` in `simplelogin.env` to `https://app.mydomain.com`, otherwise not all page assets will load securely, and some functionality (e.g. Webauthn) will break. +If you set `LANDING_PAGE_URL`, update it to `https://mydomain.com` as well. You will need to reload the docker containers for this to take effect. ## HTTP Strict Transport Security (HSTS)