forgejo production mode

This commit is contained in:
Andrea Ciceri 2024-02-24 16:20:33 +01:00
parent 4bcc47d1ec
commit 71a36ff5df
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -8,7 +8,7 @@
stateDir = "/mnt/hd/forgejo"; stateDir = "/mnt/hd/forgejo";
settings = { settings = {
DEFAULT = { DEFAULT = {
RUN_MODE = "dev"; RUN_MODE = "prod"; # set to prod for better logs (worse performance)
APP_NAME = "git.aciceri.dev"; APP_NAME = "git.aciceri.dev";
}; };
session.COOKIE_SECURE = true; session.COOKIE_SECURE = true;