34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
![]() |
diff -Naurp forgejo/custom/conf/app.example.ini forgejo-new/custom/conf/app.example.ini
|
||
|
--- forgejo/custom/conf/app.example.ini 2024-04-26 21:49:54.000000000 -0700
|
||
|
+++ forgejo-new/custom/conf/app.example.ini 2024-04-28 15:09:26.192685348 -0700
|
||
|
@@ -279,10 +279,10 @@ RUN_USER = ; git
|
||
|
;;
|
||
|
;; Root directory containing templates and static files.
|
||
|
;; default is the path where Gitea is executed
|
||
|
-;STATIC_ROOT_PATH = ; Will default to the built-in value _`StaticRootPath`_
|
||
|
+STATIC_ROOT_PATH = /usr/share/forgejo
|
||
|
;;
|
||
|
;; Default path for App data
|
||
|
-;APP_DATA_PATH = data ; relative paths will be made absolute with _`AppWorkPath`_
|
||
|
+APP_DATA_PATH = /var/lib/forgejo/data
|
||
|
;;
|
||
|
;; Enable gzip compression for runtime-generated content, static resources excluded
|
||
|
;ENABLE_GZIP = false
|
||
|
@@ -569,14 +569,14 @@ ENABLED = true
|
||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
;; Root path for the log files - defaults to %(GITEA_WORK_DIR)/log
|
||
|
-;ROOT_PATH =
|
||
|
+ROOT_PATH = /var/log/forgejo
|
||
|
;;
|
||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
;; Main Logger
|
||
|
;;
|
||
|
;; Either "console", "file" or "conn", default is "console"
|
||
|
;; Use comma to separate multiple modes, e.g. "console, file"
|
||
|
-MODE = console
|
||
|
+MODE = console, file
|
||
|
;;
|
||
|
;; Either "Trace", "Debug", "Info", "Warn", "Error" or "None", default is "Info"
|
||
|
LEVEL = Info
|