From 2fc2a0299dcabfcfc847416c1b18b81e052fcf27 Mon Sep 17 00:00:00 2001
From: Mart van Santen <mart@greenhost.nl>
Date: Mon, 22 Nov 2021 08:05:49 +0100
Subject: [PATCH] Small improvements in documention

---
 docs/local_dev_remote_kratos.md | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/docs/local_dev_remote_kratos.md b/docs/local_dev_remote_kratos.md
index 6dc6e3c..6012fc5 100644
--- a/docs/local_dev_remote_kratos.md
+++ b/docs/local_dev_remote_kratos.md
@@ -22,8 +22,10 @@ this happen has a lot of moving components. A quick overview:
    other build environment.
 
  - Kratos: This is Identity Manager and contains all the user profiles and
-   secrets (passwords). Kratos is designed to work mostly between web-browser
-   and kratos directly, however, it only provides an API and not UI itself.
+   secrets (passwords). Kratos is designed to work mostly between UI (browser)
+   and kratos directly, over a public API endpoint without an extra server side
+   component/application. So authentication, form-validation etc, are all handled
+   by Kratos. Kratos only provides an API and not UI itself.
    Kratos provides a Admin API, which is only used from the server-side flask
    app to create/delete users.
 
@@ -114,7 +116,7 @@ Please make sure it is in sync with the password for kratos and hydra in you
 kratos:
   kratos:
     config:
-      dsn: postgres://kratos:ChangeThisPassword@single-sign-on-postgresql:5432/kratos
+      dsn: postgres://kratos:kratos@single-sign-on-postgresql:5432/kratos
 
 hydra:
   hydra:
@@ -162,7 +164,7 @@ kratos:
       courier:
         smtp:
          # Kratos enforces the use of STARTTLS. Be sure your SMTP provider
-         # supports that (if not, it is time to swtich providers)
+         # supports that (if not, it is time to switch providers)
          connection_uri: smtp://stackspin@example.com:MyPassword@smtp.greenhost.nl:25/
          from_address: no-reply@example.com
 
@@ -247,8 +249,7 @@ server {
 
     root /var/www/html;
 
-    # Add index.php to the list if you are using PHP
-    index index.html index.htm index.nginx-debian.html;
+    index index.html;
 
     server_name _;
 
-- 
GitLab