From aad1874d19f7ef7c0df2dbe6c47a42415502c45c Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Mon, 18 Oct 2021 04:31:38 +0500 Subject: [PATCH] :wrench: Updated example config contents --- configs/example.yml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/configs/example.yml b/configs/example.yml index ea06b91..8af56ff 100644 --- a/configs/example.yml +++ b/configs/example.yml @@ -1,9 +1,23 @@ --- -url: https://example.org/ -database: - client: bolt - connection: - filename: ./development.db +name: IndieAuth +runMode: "dev" server: - host: "127.0.0.1" + protocol: http + domain: localhost + rootUrl: "{{protocol}}://{{domain}}:{{port}}/" + staticUrlPrefix: "/static" + host: "0.0.0.0" port: 3000 + certFile: "https/cert.pem" + keyFile: "https/key.pem" + staticRootPath: "/" + enablePprof: false +database: + type: bolt + path: data/indieauth.db +indieauth: + enabled: true + accessTokenExpirationTime: 3600 + jwtSigningAlgorithm: "RS256" + jwtSecret: "" + jwtSigningPrivateKeyFile: "jwt/private.pem"