add gitea static root path

This commit is contained in:
vincent 2020-06-04 22:23:03 +02:00
parent d61dc324be
commit 72b0bd14b9
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ gitea_app_name: "Gitea"
gitea_user: "gitea" gitea_user: "gitea"
gitea_home: "/mnt/diskstation/git" gitea_home: "/mnt/diskstation/git"
gitea_shell: "/bin/false" gitea_shell: "/bin/false"
gitea_Static_Root_Path: "/usr/share/gitea"
gitea_user_repo_limit: -1 gitea_user_repo_limit: -1
gitea_http_domain: localhost gitea_http_domain: localhost

View File

@ -194,7 +194,7 @@ CERT_FILE = custom/https/cert.pem
KEY_FILE = custom/https/key.pem KEY_FILE = custom/https/key.pem
; Root directory containing templates and static files. ; Root directory containing templates and static files.
; default is the path where Gitea is executed ; default is the path where Gitea is executed
STATIC_ROOT_PATH = STATIC_ROOT_PATH = {{ gitea_Static_Root_Path }}
; Default path for App data ; Default path for App data
APP_DATA_PATH = data APP_DATA_PATH = data
; Application level GZIP support ; Application level GZIP support