diff --git a/defaults/main.yml b/defaults/main.yml index 61a6171..2cf6e53 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -3,7 +3,7 @@ gitea_app_name: "Gitea" gitea_user: "gitea" gitea_home: "/mnt/diskstation/git" gitea_shell: "/bin/false" - +gitea_Static_Root_Path: "/usr/share/gitea" gitea_user_repo_limit: -1 gitea_http_domain: localhost diff --git a/templates/app.ini.j2 b/templates/app.ini.j2 index f6b6915..4865084 100644 --- a/templates/app.ini.j2 +++ b/templates/app.ini.j2 @@ -194,7 +194,7 @@ CERT_FILE = custom/https/cert.pem KEY_FILE = custom/https/key.pem ; Root directory containing templates and static files. ; default is the path where Gitea is executed -STATIC_ROOT_PATH = +STATIC_ROOT_PATH = {{ gitea_Static_Root_Path }} ; Default path for App data APP_DATA_PATH = data ; Application level GZIP support