From ca29bc459361abc3beb82ed0d38c34dd6473b0f0 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Tue, 30 Jul 2019 14:37:05 +0200 Subject: [PATCH] README --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc6d00a..1e569a6 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,16 @@ Gitea front (no reverse proxy) with embeded let's Encrypt acme use. -In our case, we uses Gitea with a mariadb database witch isn't on the same server. This role doesnot install mariadb. \ No newline at end of file +In our case, we uses Gitea with a mariadb database witch isn't on the same server. This role doesnot install mariadb. + +On templates/gitea.ini file + + [oauth2] + JWT_SECRET = 1bBwvwFreUqcVSvPPO7UZ_4ovAGtQI_kIq070ua4Mms + + [security] + INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1NjQ0ODU2NTZ9.D5YYxvLXAerBlfq5JKXHLBhhnI4N5KBKW2Mae2EJJb0 + INSTALL_LOCK = true + SECRET_KEY = xdD1yrkDWNq6LNqTx3bfa3kWOLv8Ew0HOCDzb2QfsJLVpsrcOoPjCA7G9bhTUsVv + +Delete them the first time you launch Gitea. It will generate others token / keys. \ No newline at end of file